Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/boot/
H A Dwii.c32 u32 mem2_boundary; member
75 static int mipc_get_mem2_boundary(u32 *mem2_boundary) in mipc_get_mem2_boundary() argument
86 if (mipc_check_address(hdr->mem2_boundary)) { in mipc_get_mem2_boundary()
88 hdr->mem2_boundary); in mipc_get_mem2_boundary()
92 *mem2_boundary = hdr->mem2_boundary; in mipc_get_mem2_boundary()
103 u32 mem2_boundary; in platform_fixups() local
119 error = mipc_get_mem2_boundary(&mem2_boundary); in platform_fixups()
122 mem2_boundary = MEM2_TOP - FIRMWARE_DEFAULT_SIZE; in platform_fixups()
125 if (mem2_boundary > reg[2] && mem2_boundary < reg[2] + reg[3]) { in platform_fixups()
126 reg[3] = mem2_boundary - reg[2]; in platform_fixups()