]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: agilex5: Add configuration for malloc pool
authorTien Fong Chee <tien.fong.chee@intel.com>
Tue, 18 Feb 2025 08:35:02 +0000 (16:35 +0800)
committerTom Rini <trini@konsulko.com>
Tue, 25 Feb 2025 16:54:00 +0000 (10:54 -0600)
Adding configuration for SPL malloc pool.

Signed-off-by: Tien Fong Chee <tien.fong.chee@altera.com>
configs/socfpga_agilex5_defconfig

index 60e625ea8059c1b6ef8232bd1439f8af80069c1f..2a2c76113cdc8c0e01dea07feb1a03a9c2c88a52 100644 (file)
@@ -30,6 +30,10 @@ CONFIG_BOOTDELAY=5
 CONFIG_USE_BOOTARGS=y
 CONFIG_BOOTARGS="console=ttyS0,115200 initrd=0x90000000 root=/dev/ram0 rw init=/sbin/init ramdisk_size=10000000 earlycon panic=-1 nosmp kvm-arm.mode=nvhe"
 CONFIG_SPL_MAX_SIZE=0x40000
+CONFIG_SPL_SYS_MALLOC=y
+CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
+CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xbfa00000
+CONFIG_SPL_SYS_MALLOC_SIZE=0x500000
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SPL_CACHE=y