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
43 lines
916 B
Plaintext
43 lines
916 B
Plaintext
CONFIG_TEXT_BASE=0
|
|
CONFIG_SYS_MALLOC_LEN=0x2000000
|
|
CONFIG_ENV_SIZE=0x2000
|
|
CONFIG_DEFAULT_DEVICE_TREE="sandbox"
|
|
CONFIG_SYS_LOAD_ADDR=0x0
|
|
CONFIG_PCI=y
|
|
CONFIG_SANDBOX_SDL=n
|
|
CONFIG_EFI_LOADER=n
|
|
CONFIG_ANDROID_BOOT_IMAGE=y
|
|
CONFIG_TIMESTAMP=y
|
|
CONFIG_FIT=y
|
|
CONFIG_BOOTSTD_FULL=n
|
|
CONFIG_BOOTMETH_CROS=n
|
|
CONFIG_BOOTMETH_VBE=n
|
|
CONFIG_IMAGE_PRE_LOAD=y
|
|
CONFIG_IMAGE_PRE_LOAD_SIG=y
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run distro_bootcmd"
|
|
CONFIG_CMD_BOOTD=n
|
|
CONFIG_CMD_BOOTM=n
|
|
CONFIG_CMD_BOOTI=n
|
|
CONFIG_CMD_ELF=n
|
|
CONFIG_CMD_EXTENSION=n
|
|
CONFIG_CMD_DATE=n
|
|
CONFIG_BOARD_INIT=n
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NO_NET=y
|
|
CONFIG_ACPIGEN=n
|
|
CONFIG_AXI=y
|
|
CONFIG_AXI_SANDBOX=y
|
|
CONFIG_SANDBOX_GPIO=y
|
|
CONFIG_PCI_SANDBOX=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_SOUND=y
|
|
CONFIG_SYSRESET=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_VIRTIO_MMIO=n
|
|
CONFIG_VIRTIO_PCI=n
|
|
CONFIG_VIRTIO_SANDBOX=n
|
|
CONFIG_GENERATE_ACPI_TABLE=n
|
|
CONFIG_TOOLS_MKEFICAPSULE=y
|