[U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation

Bartosz Golaszewski bgolaszewski at baylibre.com
Wed Nov 13 13:36:52 UTC 2019


niedz., 10 lis 2019 o 15:01 Adam Ford <aford173 at gmail.com> napisaƂ(a):
>
> 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 at gmail.com>
>
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index cceb0c408e..376bb9f953 100644
> --- a/configs/omapl138_lcdk_defconfig
> +++ b/configs/omapl138_lcdk_defconfig
> @@ -8,6 +8,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_NR_DRAM_BANKS=1
> --
> 2.20.1
>

Tested-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>


More information about the U-Boot mailing list