]> git.baikalelectronics.ru Git - uboot.git/commit
odroid: limit boot memory to lowmem
authorJoost van Zwieten <joost@diskos.nl>
Sat, 14 Jan 2023 23:57:30 +0000 (00:57 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 19 Jan 2023 00:41:16 +0000 (19:41 -0500)
commit8e25811f4ea6f1a2c64cd9c2e9f103f2c32a090e
tree483d9f85e8184cb91f00e3345391bff13eee580a
parenta8b54ba57980224bccbbc8141db23a30adb491a1
odroid: limit boot memory to lowmem

In commit c103c2d30197 ("image: Use gd->ram_base/_size in
env_get_bootm_size()") the size of the available memory for U-Boot to
use when relocating images, and not otherwise constrained, was changed
to include all known memory banks. In the case of this platform however,
all of the memory known to U-Boot is not also part of the Linux kernel
"lowmem" and so we must use CFG_SYS_BOOTMAPSZ to limit where we relocate
images to. We set a conservative limit of 256MB here to mirror the
previous behavior.

Signed-off-by: Joost van Zwieten <joost@diskos.nl>
[trini: Reword the commit messsage]
Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/odroid.h