aboutsummaryrefslogtreecommitdiff
path: root/configs/orangepi_zero2_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/orangepi_zero2_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/orangepi_zero2_defconfig')
-rw-r--r--configs/orangepi_zero2_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/orangepi_zero2_defconfig b/configs/orangepi_zero2_defconfig
index 62117548e2b..cad7a7bb064 100644
--- a/configs/orangepi_zero2_defconfig
+++ b/configs/orangepi_zero2_defconfig
@@ -14,6 +14,7 @@ CONFIG_SPL_MAX_SIZE=0xbfa0
CONFIG_SPL_STACK=0x58000
CONFIG_SPL_I2C=y
CONFIG_SYS_PBSIZE=1024
+CONFIG_SYS_BOOTM_LEN=0x2000000
CONFIG_SPL_SYS_I2C_LEGACY=y
CONFIG_SYS_I2C_MVTWSI=y
CONFIG_SYS_I2C_SLAVE=0x7f