Home
last modified time | relevance | path

Searched refs:mem2_boundary (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/arch/powerpc/boot/
Dwii.c37 u32 mem2_boundary; member
80 static int mipc_get_mem2_boundary(u32 *mem2_boundary) in mipc_get_mem2_boundary() argument
91 if (mipc_check_address(hdr->mem2_boundary)) { in mipc_get_mem2_boundary()
93 hdr->mem2_boundary); in mipc_get_mem2_boundary()
97 *mem2_boundary = hdr->mem2_boundary; in mipc_get_mem2_boundary()
108 u32 mem2_boundary; in platform_fixups() local
124 error = mipc_get_mem2_boundary(&mem2_boundary); in platform_fixups()
127 mem2_boundary = MEM2_TOP - FIRMWARE_DEFAULT_SIZE; in platform_fixups()
130 if (mem2_boundary > reg[2] && mem2_boundary < reg[2] + reg[3]) { in platform_fixups()
131 reg[3] = mem2_boundary - reg[2]; in platform_fixups()