]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: arbel: increase u-boot mapping size
authorJim Liu <jim.t90615@gmail.com>
Tue, 23 Apr 2024 07:22:09 +0000 (15:22 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 3 May 2024 18:22:59 +0000 (12:22 -0600)
When u-boot enable CONFIG_SYS_BOOT_RAMDISK_HIGH, rootfs image relocated
from FIU address space to memory address before jump to kernel.

Since Arbel reserved memory from 0x00000000 to 0x06200000 for tip image,
and rootfs image may too large that cannot found a suitable location
before 128MB(0x8000000), so increase mapping size from 128MB to 192MB.

Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
include/configs/arbel.h

index 576ee37ee4a1066489e67859bc190b5c427ec7a3..d8ccc4596823b194ed14423829404db5495c0f8d 100644 (file)
@@ -7,7 +7,7 @@
 #define __CONFIG_ARBEL_H
 
 #define CFG_SYS_SDRAM_BASE             0x0
-#define CFG_SYS_BOOTMAPSZ              (128 << 20)
+#define CFG_SYS_BOOTMAPSZ              (192 << 20)
 #define CFG_SYS_BOOTM_LEN              (20 << 20)
 #define CFG_SYS_INIT_RAM_ADDR  CFG_SYS_SDRAM_BASE
 #define CFG_SYS_INIT_RAM_SIZE  0x8000