forked from OERV-BSP/u-boot
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
14 lines
325 B
Plaintext
14 lines
325 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_QEMU=y
|
|
CONFIG_BLOBLIST_SIZE_RELOC=0x20000
|
|
CONFIG_TARGET_QEMU_ARM_SBSA=y
|
|
CONFIG_EFI_VARIABLE_NO_STORE=y
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="bootflow scan"
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_EFI_PARTITION=y
|
|
CONFIG_PARTITION_TYPE_GUID=y
|
|
CONFIG_EFI_MEDIA=y
|
|
CONFIG_FS_FAT=y
|
|
CONFIG_UNIT_TEST=y
|