mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
odroid: limit boot memory to lowmem
In commit 4963f63fe6
("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>
This commit is contained in:
parent
1a064d0599
commit
ace75d642f
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
#define CFG_SYS_PL310_BASE 0x10502000
|
||||
#endif
|
||||
|
||||
#define CFG_SYS_BOOTMAPSZ 0x10000000
|
||||
#define CFG_SYS_SDRAM_BASE 0x40000000
|
||||
#define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */
|
||||
#define PHYS_SDRAM_1 CFG_SYS_SDRAM_BASE
|
||||
|
|
Loading…
Reference in a new issue