[PATCH] odroid: limit boot memory to lowmem
Joost van Zwieten
joost at diskos.nl
Sun Jan 15 00:57:30 CET 2023
Commit 4963f63fe61f15329d77472a762b1d8bf754d24b changed the default
value of the `bootm_size` environment variable. For the odroid board
this caused the initrd and fdt to be placed in highmem. This patch
restricts the boot data conservatively to 256MB.
Signed-off-by: Joost van Zwieten <joost at diskos.nl>
---
include/configs/odroid.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/odroid.h b/include/configs/odroid.h
index 560a23c23e..7255efc2df 100644
--- a/include/configs/odroid.h
+++ b/include/configs/odroid.h
@@ -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
--
2.30.2
More information about the U-Boot
mailing list