From c45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sat, 25 Jun 2022 19:29:46 -0400 Subject: Convert CONFIG_SYS_BOOTM_LEN to Kconfig 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 Signed-off-by: Tom Rini --- configs/synquacer_developerbox_defconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'configs/synquacer_developerbox_defconfig') diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig index 5e4accf4b1..9ddc80fe17 100644 --- a/configs/synquacer_developerbox_defconfig +++ b/configs/synquacer_developerbox_defconfig @@ -17,6 +17,7 @@ CONFIG_FIT=y CONFIG_BOOTSTAGE_STASH_SIZE=4096 CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=128 +CONFIG_SYS_BOOTM_LEN=0x800000 CONFIG_CMD_IMLS=y CONFIG_CMD_ERASEENV=y CONFIG_CMD_NVEDIT_EFI=y -- cgit v1.2.1