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

Daniel Schwierzeck daniel.schwierzeck at gmail.com
Wed Nov 30 16:22:29 CET 2016



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.
> 
> Signed-off-by: Paul Burton <paul.burton at imgtec.com>
> ---
> 
>  arch/mips/lib/bootm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

applied to u-boot-mips, thanks!

-- 
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161130/fe61bdb2/attachment.sig>


More information about the U-Boot mailing list