aboutsummaryrefslogtreecommitdiffstats
path: root/include/configs/imx8mn_evk.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-06-25 19:29:46 -0400
committerTom Rini <trini@konsulko.com>2022-07-07 14:01:09 -0400
commitc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (patch)
treebb66c9a10c18650315c7bf140ee85eab6d64ddc7 /include/configs/imx8mn_evk.h
parent64a2a7b04b0a50e50a7cd36d7956d40c7a874478 (diff)
downloadu-boot-c45568cc4e51b7bbe2f3ce28d8f2566048aeebf3.tar.gz
Convert CONFIG_SYS_BOOTM_LEN to KconfigWIP/2022-07-07-Kconfig-migrations-dead-code-removal
This converts the following to Kconfig: CONFIG_SYS_BOOTM_LEN As part of this, rework error handling in boot/bootm.c so that we pass the buffer size to handle_decomp_error as CONFIG_SYS_BOOTM_LEN will not be available to host tools but we do know the size that we passed to malloc(). Cc: Soeren Moch <smoch@web.de> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/imx8mn_evk.h')
-rw-r--r--include/configs/imx8mn_evk.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/configs/imx8mn_evk.h b/include/configs/imx8mn_evk.h
index 9de31cfe81c..ae7fcb1027a 100644
--- a/include/configs/imx8mn_evk.h
+++ b/include/configs/imx8mn_evk.h
@@ -10,8 +10,6 @@
#include <linux/stringify.h>
#include <asm/arch/imx-regs.h>
-#define CONFIG_SYS_BOOTM_LEN (32 * SZ_1M)
-
#define CONFIG_SYS_MONITOR_LEN SZ_512K
#define CONFIG_SYS_UBOOT_BASE \
(QSPI0_AMBA_BASE + CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR * 512)