summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-12-27 16:37:10 -0600
committerTom Rini <[email protected]>2026-01-09 09:08:14 -0600
commit284e1a00f4f28dcd6ddc8c860d22f1c8c427c5d5 (patch)
tree7183117b2571b3380c6996cb0a637784b34c00e4
parent00967665f6f91529b6aad266c4b09128da88550b (diff)
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 <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--Kconfig4
-rw-r--r--arch/x86/Kconfig3
-rw-r--r--configs/qemu-x86_defconfig1
3 files changed, 2 insertions, 6 deletions
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