diff options
| author | Lukasz Majewski <[email protected]> | 2024-03-29 12:18:09 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2024-03-30 15:12:22 -0300 |
| commit | f21b3e2cd954634d405fb522198d099879f3f1e7 (patch) | |
| tree | 6759c2a0d5551248ec41c2b71c5edc5b165a1c66 | |
| parent | 7e1b8d8f1e688e7f359bff76dd30232b02635062 (diff) | |
config: xea: Add limits for SPL and u-boot proper sizes
The XEA board has following hard constraints regarding size of binaries:
- u-boot.sb < 48 KiB
- u-boot.img < 448 KiB
Added values are supposed to avoid exceeding size of binaries during
future u-boot development.
Signed-off-by: Lukasz Majewski <[email protected]>
| -rw-r--r-- | configs/imx28_xea_defconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig index 6098c1f3bee..822a329187f 100644 --- a/configs/imx28_xea_defconfig +++ b/configs/imx28_xea_defconfig @@ -21,12 +21,15 @@ CONFIG_SPL_MMC=y CONFIG_SPL_SERIAL=y CONFIG_SPL_STACK=0x20000 CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000 +CONFIG_SPL_SIZE_LIMIT=0xa000 CONFIG_SPL=y CONFIG_ENV_OFFSET_REDUND=0x90000 CONFIG_SPL_SPI_FLASH_SUPPORT=y CONFIG_SPL_SPI=y CONFIG_SYS_LOAD_ADDR=0x42000000 CONFIG_SPL_PAYLOAD="u-boot.img" +CONFIG_HAS_BOARD_SIZE_LIMIT=y +CONFIG_BOARD_SIZE_LIMIT=458752 CONFIG_TIMESTAMP=y CONFIG_FIT=y # CONFIG_BOOTMETH_EXTLINUX is not set |
