diff options
| author | Tom Rini <[email protected]> | 2022-06-25 19:29:46 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-07-07 14:01:09 -0400 |
| commit | c45568cc4e51b7bbe2f3ce28d8f2566048aeebf3 (patch) | |
| tree | bb66c9a10c18650315c7bf140ee85eab6d64ddc7 /include/configs/km | |
| 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 <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include/configs/km')
| -rw-r--r-- | include/configs/km/km-powerpc.h | 1 | ||||
| -rw-r--r-- | include/configs/km/km_arm.h | 1 | ||||
| -rw-r--r-- | include/configs/km/pg-wcom-ls102xa.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index a9a6a41f6b7..6becd7cd31a 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -13,7 +13,6 @@ #define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE /* Increase max size of compressed kernel */ -#define CONFIG_SYS_BOOTM_LEN 0x2000000 /* 32 MB */ /****************************************************************************** * (PRAM usage) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index a485c3ac6d1..eee71db37c2 100644 --- a/include/configs/km/km_arm.h +++ b/include/configs/km/km_arm.h @@ -25,7 +25,6 @@ #include "keymile-common.h" /* Increase max size of compressed kernel */ -#define CONFIG_SYS_BOOTM_LEN (32 << 20) #include "asm/arch/config.h" diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h index dd6747388c7..f8373901350 100644 --- a/include/configs/km/pg-wcom-ls102xa.h +++ b/include/configs/km/pg-wcom-ls102xa.h @@ -249,7 +249,6 @@ "ethrotate=no\0" \ "" -#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */ #define CONFIG_SYS_BOOTMAPSZ (256 << 20) /* Increase map for Linux */ #endif |
