From: Tom Rini Date: Sat, 27 Dec 2025 22:37:10 +0000 (-0600) Subject: x86: Increase SYS_MALLOC_F_LEN to 0x1000 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=284e1a00f4f28dcd6ddc8c860d22f1c8c427c5d5;p=thirdparty%2Fu-boot.git x86: Increase SYS_MALLOC_F_LEN to 0x1000 A few x86 platforms use a SYS_MALLOC_F_LEN value of 0x1000 or higher. With the impending move to having DEVRES enabled by default, we will need a little more room here. Raise the default value. Reviewed-by: Bin Meng Signed-off-by: Tom Rini --- diff --git a/Kconfig b/Kconfig index c435fb43182..ce25ea24a60 100644 --- a/Kconfig +++ b/Kconfig @@ -299,8 +299,8 @@ config SYS_MALLOC_F_LEN ROCKCHIP_RV1108 default 0x600 if ARCH_ZYNQMP_R5 || ARCH_ZYNQMP default 0x800 if ARCH_ZYNQ || ROCKCHIP_RK3128 || ROCKCHIP_RK3188 || \ - ROCKCHIP_RK322X || X86 - default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS + ROCKCHIP_RK322X + default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS || X86 default 0x1800 if ARCH_TEGRA default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \ ROCKCHIP_RK3399 diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5aa134b6bcb..48b033e7e27 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -133,9 +133,6 @@ source "arch/x86/cpu/tangier/Kconfig" config AHCI default y -config SYS_MALLOC_F_LEN - default 0x800 - config RAMBASE hex default 0x100000 diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig index a3210bc4a5c..6bea902c947 100644 --- a/configs/qemu-x86_defconfig +++ b/configs/qemu-x86_defconfig @@ -1,6 +1,5 @@ CONFIG_X86=y CONFIG_TEXT_BASE=0xFFF00000 -CONFIG_SYS_MALLOC_F_LEN=0x1000 CONFIG_BLOBLIST_SIZE_RELOC=0x40000 CONFIG_NR_DRAM_BANKS=8 CONFIG_ENV_SIZE=0x40000