mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +00:00
spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed
Enable CONFIG_SPL_SYS_MALLOC_F for boards which have a non-zero value for CONFIG_SPL_SYS_MALLOC_F_LEN Note that the default is yes in most cases, so no changes are needed to board defconfig options. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
fd8497dae5
commit
7431b0ad54
2 changed files with 6 additions and 0 deletions
|
@ -6,6 +6,9 @@ config SYS_SOC
|
|||
config SYS_MALLOC_F_LEN
|
||||
default 0x2000
|
||||
|
||||
config SPL_SYS_MALLOC_F
|
||||
default y
|
||||
|
||||
config SPL_SYS_MALLOC_F_LEN
|
||||
default 0x2000
|
||||
|
||||
|
|
|
@ -30,6 +30,9 @@ config SPL_SIZE_LIMIT_PROVIDE_STACK
|
|||
config SPL_STACK_R_ADDR
|
||||
default 0x00800000 if TARGET_SOCFPGA_GEN5
|
||||
|
||||
config SPL_SYS_MALLOC_F
|
||||
default y if TARGET_SOCFPGA_GEN5
|
||||
|
||||
config SPL_SYS_MALLOC_F_LEN
|
||||
default 0x800 if TARGET_SOCFPGA_GEN5
|
||||
|
||||
|
|
Loading…
Reference in a new issue