Skip to content
Snippets Groups Projects
Commit 90e407ae authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Tom Rini
Browse files

Kconfig: Enlarge default SYS_MALLOC_F_LEN for AM33XX


Since commit 8e14ba7b ("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: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
parent 4f67b93f
No related branches found
No related tags found
No related merge requests found
...@@ -132,6 +132,7 @@ config SYS_MALLOC_F ...@@ -132,6 +132,7 @@ config SYS_MALLOC_F
config SYS_MALLOC_F_LEN config SYS_MALLOC_F_LEN
hex "Size of malloc() pool before relocation" hex "Size of malloc() pool before relocation"
depends on SYS_MALLOC_F depends on SYS_MALLOC_F
default 0x1000 if AM33XX
default 0x400 default 0x400
help help
Before relocation, memory is very limited on many platforms. Still, Before relocation, memory is very limited on many platforms. Still,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment