]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: omapl138_lcdk: Increase malloc pool before relocation
authorAdam Ford <aford173@gmail.com>
Sun, 10 Nov 2019 14:01:32 +0000 (08:01 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 3 Dec 2019 13:44:13 +0000 (08:44 -0500)
Driver model requires a malloc pool to allocate memory before
relocations to operate serial and some other devices.  This patch
increases the pool size to 2K.

Signed-off-by: Adam Ford <aford173@gmail.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
configs/omapl138_lcdk_defconfig

index dab2e1dc58d6e6fa09de62944a4a21274b629ae1..4e0822530021f711972adf0ddc52764aa46d45cc 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_SYS_DA850_PLL1_PLLDIV3=0x8003
 CONFIG_TI_COMMON_CMD_OPTIONS=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
+CONFIG_SYS_MALLOC_F_LEN=0x800
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_ENV_SIZE=0x10000