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
26 lines
672 B
Plaintext
26 lines
672 B
Plaintext
CONFIG_RISCV=y
|
|
CONFIG_SYS_MALLOC_LEN=0x800000
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80200000
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_DEFAULT_DEVICE_TREE="qemu-virt32"
|
|
CONFIG_SYS_MONITOR_LEN=786432
|
|
CONFIG_SYS_BOOTM_LEN=0x4000000
|
|
CONFIG_SYS_LOAD_ADDR=0x80200000
|
|
CONFIG_TARGET_QEMU_VIRT=y
|
|
CONFIG_FIT=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_DISPLAY_CPUINFO=y
|
|
CONFIG_DISPLAY_BOARDINFO=y
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_CMD_BOOTEFI_SELFTEST=y
|
|
CONFIG_CMD_NVEDIT_EFI=y
|
|
# CONFIG_CMD_MII is not set
|
|
CONFIG_CMD_SPAWN=y
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_DM_MTD=y
|
|
CONFIG_FLASH_SHOW_PROGRESS=0
|
|
CONFIG_SYS_MAX_FLASH_BANKS=2
|
|
CONFIG_UTHREAD=y
|
|
CONFIG_UNIT_TEST=y
|