Home
last modified time | relevance | path

Searched hist:"7 a3e0f74a7c3ff83ba0607ebf8a14310ff08db60" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/mips/lib/
H A Dbootm.c7a3e0f74a7c3ff83ba0607ebf8a14310ff08db60 Mon Sep 26 18:28:56 UTC 2016 Paul Burton <paul.burton@imgtec.com> MIPS: Use ram_top, not bi_memsize, in arch_lmb_reserve

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@imgtec.com>