Commit 86acdce2ba ("common: add config for board_init() call")
introduced CONFIG_BOARD_INIT option. This option can be disabled for the
boards where board_init() function is not needed. Remove empty
board_init() calls for all boards where it's possible, and disable
CONFIG_BOARD_INIT in all related defconfigs.
This cleanup was made semi-automatically using these scripts: [1].
No functional change, but the binary size for the modified boards is
reduced a bit.
[1] https://github.com/joe-skb7/uboot-convert-scripts/tree/master/remove-board-init
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mm_beacon
Tested-by: Bryan Brattlof <bb@ti.com>
Acked-by: Peng Fan <peng.fan@nxp.com> #NXP boards
37 lines
927 B
Plaintext
37 lines
927 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_STM32=y
|
|
CONFIG_TEXT_BASE=0x08000000
|
|
CONFIG_SYS_MALLOC_LEN=0x100000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x10010000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_DEFAULT_DEVICE_TREE="st/stm32429i-eval"
|
|
CONFIG_SYS_LOAD_ADDR=0x400000
|
|
CONFIG_STM32F4=y
|
|
CONFIG_TARGET_STM32F429_EVALUATION=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_SYS_PBSIZE=1050
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_SYS_PROMPT="U-Boot > "
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CMD_GPT=y
|
|
CONFIG_CMD_MMC=y
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIMER=y
|
|
# CONFIG_ISO_PARTITION is not set
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_ARM_PL180_MMCI=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_STM32_FLASH=y
|
|
CONFIG_SYS_MAX_FLASH_SECT=12
|
|
CONFIG_SYS_MAX_FLASH_BANKS=2
|
|
# CONFIG_RANDOM_UUID is not set
|