Re: [U-Boot] [PATCH 02/23] MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve

2016-11-30 Thread Daniel Schwierzeck
Am 26.09.2016 um 20:28 schrieb Paul Burton: > When calculating the region to reserve for the stack in > arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to > CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough > memory to reach the end of the address space. > >

[U-Boot] [PATCH 02/23] MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve

2016-09-26 Thread Paul Burton
When calculating the region to reserve for the stack in arch_lmb_reserve, make use of ram_top instead of adding bi_memsize to CONFIG_SYS_SDRAM_BASE. This avoids overflow if the system has enough memory to reach the end of the address space. Signed-off-by: Paul Burton --- arch/mips/lib/bootm.c |