aboutsummaryrefslogtreecommitdiffstats
path: root/Kconfig
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2018-04-12 18:09:58 +0200
committerTom Rini <trini@konsulko.com>2018-04-16 18:45:35 -0400
commit90e407ae01838692bacfbcbcb83d0fb33f3ba7e7 (patch)
tree9008d5a9e80c31ff13dcd0a5d12e5540ab752cc0 /Kconfig
parent4f67b93fb7f558dbdd5f7a3e763ec19b6ec62460 (diff)
downloadu-boot-midas-90e407ae01838692bacfbcbcb83d0fb33f3ba7e7.tar.gz
u-boot-midas-90e407ae01838692bacfbcbcb83d0fb33f3ba7e7.tar.bz2
u-boot-midas-90e407ae01838692bacfbcbcb83d0fb33f3ba7e7.zip
Kconfig: Enlarge default SYS_MALLOC_F_LEN for AM33XX
Since commit 8e14ba7bd524 ("gpio: omap_gpio: Add DM_FLAG_PRE_RELOC flag") omap GPIO gets bound before relocation. Unfortunately due to this, on at least the beaglebone black, the pre-relocation memory pool gets exhausted before probing the serial port. This then causes u-boot to panic as CONFIG_REQUIRE_SERIAL_CONSOLE is set... Resolve this by resizing the default size of the pre-relocation malloc pool for AM335X platforms. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kconfig b/Kconfig
index 7accdad79d..6957097499 100644
--- a/Kconfig
+++ b/Kconfig
@@ -132,6 +132,7 @@ config SYS_MALLOC_F
config SYS_MALLOC_F_LEN
hex "Size of malloc() pool before relocation"
depends on SYS_MALLOC_F
+ default 0x1000 if AM33XX
default 0x400
help
Before relocation, memory is very limited on many platforms. Still,