aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@foundries.io>2021-08-29 22:39:13 +0300
committerStefano Babic <sbabic@denx.de>2021-10-07 16:53:50 +0200
commit32139c25e4402aa7be12b5b6ab928a62734f4781 (patch)
tree9c05a0609c79c36bfad73adf416b52f746c04b99
parent13586e46686bfcbd6a43c12e6bfec589d8db16f8 (diff)
downloadu-boot-32139c25e4402aa7be12b5b6ab928a62734f4781.zip
u-boot-32139c25e4402aa7be12b5b6ab928a62734f4781.tar.gz
u-boot-32139c25e4402aa7be12b5b6ab928a62734f4781.tar.bz2
imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB
The BSP platform LmP supports the board NXP iMX8QM MEK. The kernel size in LmP exceeds 32Mb. Increase the maximum size of an uncompressed kernel to fix the following error: Uncompressing Kernel Image Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN Must RESET board to recover Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
-rw-r--r--include/configs/imx8qm_mek.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/imx8qm_mek.h b/include/configs/imx8qm_mek.h
index 152fa6f..803daa4 100644
--- a/include/configs/imx8qm_mek.h
+++ b/include/configs/imx8qm_mek.h
@@ -10,6 +10,8 @@
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
+#define CONFIG_SYS_BOOTM_LEN (64 * SZ_1M)
+
#ifdef CONFIG_SPL_BUILD
#define CONFIG_SPL_MAX_SIZE (124 * 1024)
#define CONFIG_SYS_MONITOR_LEN (1024 * 1024)