diff mbox series

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

Message ID 20191110140133.30129-2-aford173@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/3] ARM: omapl138_lcdk: Separate BSS in SPL | expand

Commit Message

Adam Ford Nov. 10, 2019, 2:01 p.m. UTC
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>

Comments

Bartosz Golaszewski Nov. 13, 2019, 1:36 p.m. UTC | #1
niedz., 10 lis 2019 o 15:01 Adam Ford <aford173@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@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@baylibre.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Tom Rini Dec. 4, 2019, 4 a.m. UTC | #2
On Sun, Nov 10, 2019 at 08:01:32AM -0600, Adam Ford wrote:

> 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>
> 
> diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
> index cceb0c408e..376bb9f953 100644

Applied to u-boot/master, thanks!
diff mbox series

Patch

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