]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: am335x_evm: Increase SPL_SYS_MALLOC_F_LEN to accomodate gpio_devices
authorFaiz Abbas <faiz_abbas@ti.com>
Thu, 15 Mar 2018 15:41:35 +0000 (21:11 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Mar 2018 20:32:31 +0000 (16:32 -0400)
With gpio devices getting created in SPL, the size of the heap is
no longer sufficient. Therefore, increase SPL_SYS_MALLOC_F_LEN
to 0x1000.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
configs/am335x_evm_defconfig
configs/am335x_hs_evm_defconfig

index 60120bf163debcab37b3957454cf3dafe3a80dae..d1c78fa4898aa0cd54922312d50109750b71c315 100644 (file)
@@ -4,6 +4,7 @@ CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_AM33XX=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
 CONFIG_DISTRO_DEFAULTS=y
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_BOOTCOMMAND="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run distro_bootcmd"
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
index c903cc780d934f14df02cb6976766816814d1799..a8ab3e6206f17cf412d3b19ffa626e2b4a8a91fe 100644 (file)
@@ -9,6 +9,7 @@ CONFIG_ISW_ENTRY_ADDR=0x40300350
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
 CONFIG_DISTRO_DEFAULTS=y
+CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
 CONFIG_ANDROID_BOOT_IMAGE=y
 CONFIG_FIT_IMAGE_POST_PROCESS=y
 CONFIG_SPL_LOAD_FIT=y