diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-04-11 17:07:04 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-04-11 08:27:20 -0400 |
commit | b598957206e541b3f8876ae34a15fac6da90dcef (patch) | |
tree | 0f80d9727600ef9531054ecc856eb3d76ddd773d /Kconfig | |
parent | 33ae8c5bebba0874fbc432914406e63fbc219080 (diff) | |
download | u-boot-b598957206e541b3f8876ae34a15fac6da90dcef.tar.gz u-boot-b598957206e541b3f8876ae34a15fac6da90dcef.tar.bz2 u-boot-b598957206e541b3f8876ae34a15fac6da90dcef.zip |
Kconfig: Fix SYS_MALLOC_F_LEN for i.MX8MQ
i.MX8MQ use SYS_MALLOC_F_LEN 0x2000, not 0x10000. The OCRAM_S only has
32KB memory, use 0x10000 will make SPL not bootable.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -250,9 +250,10 @@ config SYS_MALLOC_F_LEN default 0x1000 if AM33XX default 0x4000 if SANDBOX || RISCV default 0x2000 if (ARCH_MX7 || ARCH_MX7ULP || ARCH_MX6 || ARCH_MX5 || \ - ARCH_QEMU || ARCH_SUNXI || ARCH_OWL) - default 0x10000 if (ARCH_IMX8 || ARCH_IMX8M || ARCH_LS1012A || \ - ARCH_LS1021A || ARCH_LS1043A || ARCH_LS1046A) + ARCH_QEMU || ARCH_SUNXI || ARCH_OWL || IMX8MQ) + default 0x10000 if (ARCH_IMX8 || (ARCH_IMX8M && !IMX8MQ) || \ + ARCH_LS1012A || ARCH_LS1021A || ARCH_LS1043A || \ + ARCH_LS1046A) default 0x400 help Before relocation, memory is very limited on many platforms. Still, |