public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Adam Ford <aford173@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation
Date: Sun, 10 Nov 2019 08:01:32 -0600	[thread overview]
Message-ID: <20191110140133.30129-2-aford173@gmail.com> (raw)
In-Reply-To: <20191110140133.30129-1-aford173@gmail.com>

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

  reply	other threads:[~2019-11-10 14:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-10 14:01 [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Adam Ford
2019-11-10 14:01 ` Adam Ford [this message]
2019-11-13 13:36   ` [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation Bartosz Golaszewski
2019-12-04  4:00   ` Tom Rini
2019-11-10 14:01 ` [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE Adam Ford
2019-11-13 13:37   ` Bartosz Golaszewski
2019-12-04  4:00   ` Tom Rini
2019-11-13 13:36 ` [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL Bartosz Golaszewski
2019-12-04  4:00 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191110140133.30129-2-aford173@gmail.com \
    --to=aford173@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox