diff options
author | Tom Rini | 2022-06-25 19:29:46 -0400 |
---|---|---|
committer | Tom Rini | 2022-07-07 14:01:09 -0400 |
commit | c45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (patch) | |
tree | bb66c9a10c18650315c7bf140ee85eab6d64ddc7 /configs/am335x_evm_spiboot_defconfig | |
parent | 64a2a7b04b0a50e50a7cd36d7956d40c7a874478 (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/am335x_evm_spiboot_defconfig')
-rw-r--r-- | configs/am335x_evm_spiboot_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/am335x_evm_spiboot_defconfig b/configs/am335x_evm_spiboot_defconfig index bcead2e5c5f..efec1a94269 100644 --- a/configs/am335x_evm_spiboot_defconfig +++ b/configs/am335x_evm_spiboot_defconfig @@ -32,6 +32,7 @@ CONFIG_SPL_DM_SPI_FLASH=y CONFIG_SPL_SPI_LOAD=y CONFIG_SYS_SPI_U_BOOT_OFFS=0x20000 CONFIG_SYS_MAXARGS=64 +CONFIG_SYS_BOOTM_LEN=0x1000000 CONFIG_CMD_SPL=y CONFIG_SYS_I2C_EEPROM_ADDR_LEN=2 # CONFIG_CMD_FLASH is not set |