aboutsummaryrefslogtreecommitdiff
path: root/configs/qemu-riscv64_spl_defconfig
diff options
context:
space:
mode:
authorTom Rini2022-06-25 19:29:46 -0400
committerTom Rini2022-07-07 14:01:09 -0400
commitc45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (patch)
treebb66c9a10c18650315c7bf140ee85eab6d64ddc7 /configs/qemu-riscv64_spl_defconfig
parent64a2a7b04b0a50e50a7cd36d7956d40c7a874478 (diff)
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 <smoch@web.de> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'configs/qemu-riscv64_spl_defconfig')
-rw-r--r--configs/qemu-riscv64_spl_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu-riscv64_spl_defconfig b/configs/qemu-riscv64_spl_defconfig
index e39accf9400..1ecfa27ce29 100644
--- a/configs/qemu-riscv64_spl_defconfig
+++ b/configs/qemu-riscv64_spl_defconfig
@@ -20,6 +20,7 @@ CONFIG_SPL_BSS_START_ADDR=0x84000000
CONFIG_SYS_SPL_MALLOC=y
CONFIG_SYS_CBSIZE=256
CONFIG_SYS_PBSIZE=276
+CONFIG_SYS_BOOTM_LEN=0x4000000
# CONFIG_CMD_MII is not set
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
CONFIG_DM_MTD=y