"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

mx6sabresd: Reduce U-Boot proper size to fix boot regression

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>

authored by

Fabio Estevam and committed by
Tom Rini
d1d53c25 7027b445

+2 -1
+2 -1
configs/mx6sabresd_defconfig
··· 40 40 CONFIG_HUSH_PARSER=y 41 41 CONFIG_SYS_MAXARGS=32 42 42 CONFIG_CMD_BOOTZ=y 43 + # CONFIG_BOOTM_PLAN9 is not set 44 + # CONFIG_BOOTM_RTEMS is not set 43 45 CONFIG_CMD_SPL=y 44 46 CONFIG_CMD_SPL_WRITE_SIZE=0x20000 45 47 CONFIG_CMD_GPIO=y ··· 65 67 # CONFIG_SPL_EFI_PARTITION is not set 66 68 CONFIG_OF_CONTROL=y 67 69 CONFIG_OF_LIST="imx6q-sabresd imx6qp-sabresd imx6dl-sabresd" 68 - CONFIG_MULTI_DTB_FIT=y 69 70 CONFIG_ENV_OVERWRITE=y 70 71 CONFIG_ENV_IS_IN_MMC=y 71 72 CONFIG_SYS_RELOC_GD_ENV_ADDR=y