diff options
author | Fabio Estevam <festevam@gmail.com> | 2025-07-04 11:40:22 -0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-04 10:55:42 -0600 |
commit | d1d53c252a4a746db5ebcdf0d6de3aa0feec504e (patch) | |
tree | 83b43cf82d3e90704e1039eeb07f9836dcf2a76a | |
parent | 7027b445cc0bfb86204ecb1f1fe596f5895048d9 (diff) |
The mx6sabresd U-Boot proper binary size has grown beyond the
CONFIG_BOARD_SIZE_LIMIT.
Reduce its size by removing the CONFIG_MULTI_DTB_FIT, BOOTM_PLAN9 and
BOOTM_RTEMS options.
According to doc/README.multi-dtb-fit:
"Usually the DTB is selected by the SPL and passed down to U-Boot. But some
platforms don't use the SPL. In this case MULTI_DTB_FIT can used to provide
U-Boot with a choice of DTBs"
mx6sabresd uses SPL, so MULTI_DTB_FIT can be safely dropped as the DTB
selection in SPL is done by board_fit_config_name_match().
Tested boot on the imx6dl and imx6q variants.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
-rw-r--r-- | configs/mx6sabresd_defconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index f041f1fd1a3..312af2f57fd 100644 --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -40,6 +40,8 @@ CONFIG_SPL_WATCHDOG=y CONFIG_HUSH_PARSER=y CONFIG_SYS_MAXARGS=32 CONFIG_CMD_BOOTZ=y +# CONFIG_BOOTM_PLAN9 is not set +# CONFIG_BOOTM_RTEMS is not set CONFIG_CMD_SPL=y CONFIG_CMD_SPL_WRITE_SIZE=0x20000 CONFIG_CMD_GPIO=y @@ -65,7 +67,6 @@ CONFIG_EFI_PARTITION=y # CONFIG_SPL_EFI_PARTITION is not set CONFIG_OF_CONTROL=y CONFIG_OF_LIST="imx6q-sabresd imx6qp-sabresd imx6dl-sabresd" -CONFIG_MULTI_DTB_FIT=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y |