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 <bmeng.cn@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini
2025-12-27 16:37:10 -06:00
parent 00967665f6
commit 284e1a00f4
3 changed files with 2 additions and 6 deletions

View File

@@ -299,8 +299,8 @@ config SYS_MALLOC_F_LEN
ROCKCHIP_RV1108 ROCKCHIP_RV1108
default 0x600 if ARCH_ZYNQMP_R5 || ARCH_ZYNQMP default 0x600 if ARCH_ZYNQMP_R5 || ARCH_ZYNQMP
default 0x800 if ARCH_ZYNQ || ROCKCHIP_RK3128 || ROCKCHIP_RK3188 || \ default 0x800 if ARCH_ZYNQ || ROCKCHIP_RK3128 || ROCKCHIP_RK3188 || \
ROCKCHIP_RK322X || X86 ROCKCHIP_RK322X
default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS default 0x1000 if ARCH_MESON || ARCH_BMIPS || ARCH_MTMIPS || X86
default 0x1800 if ARCH_TEGRA default 0x1800 if ARCH_TEGRA
default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \ default 0x4000 if SANDBOX || RISCV || ARCH_APPLE || ROCKCHIP_RK3368 || \
ROCKCHIP_RK3399 ROCKCHIP_RK3399

View File

@@ -133,9 +133,6 @@ source "arch/x86/cpu/tangier/Kconfig"
config AHCI config AHCI
default y default y
config SYS_MALLOC_F_LEN
default 0x800
config RAMBASE config RAMBASE
hex hex
default 0x100000 default 0x100000

View File

@@ -1,6 +1,5 @@
CONFIG_X86=y CONFIG_X86=y
CONFIG_TEXT_BASE=0xFFF00000 CONFIG_TEXT_BASE=0xFFF00000
CONFIG_SYS_MALLOC_F_LEN=0x1000
CONFIG_BLOBLIST_SIZE_RELOC=0x40000 CONFIG_BLOBLIST_SIZE_RELOC=0x40000
CONFIG_NR_DRAM_BANKS=8 CONFIG_NR_DRAM_BANKS=8
CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SIZE=0x40000