summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorBiwen Li <biwen.li@nxp.com>2019-12-31 10:33:40 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2020-02-04 13:50:25 +0300
commit6089d8ab31daa04ca693ba2b9c2bfca1e53cfc65 (patch)
treea7ef65f16585758d2a031764fb6bac4fa3ead62a /Kconfig
parentc69103218ee4733b4dc855ed4706a5a3eadb22a0 (diff)
downloadu-boot-6089d8ab31daa04ca693ba2b9c2bfca1e53cfc65.tar.xz
Kconfigs: layerscape: use a convenient default value for SYS_MALLOC_F_LEN
The default value of CONFIG_SYS_MALLOC_F_LEN (0x400) leaves U-Boot with not enough memory to load i2c driver before relocate, causing it to hang. Change the default value of CONFIG_SYS_MALLOC_F_LEN for below SoCs, - LS1012A - LS1021A - LS1043A - LS1046A Signed-off-by: Biwen Li <biwen.li@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'Kconfig')
-rw-r--r--Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index caae4aecbd..66148ce477 100644
--- a/Kconfig
+++ b/Kconfig
@@ -147,7 +147,9 @@ config SYS_MALLOC_F_LEN
default 0x1000 if AM33XX
default 0x2800 if SANDBOX
default 0x2000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_MX7 || \
- ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5)
+ ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 || \
+ ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \
+ ARCH_LS1046A)
default 0x400
help
Before relocation, memory is very limited on many platforms. Still,