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
45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_COUNTER_FREQUENCY=19000000
|
|
CONFIG_TEXT_BASE=0x35000000
|
|
CONFIG_SYS_MALLOC_LEN=0x801000
|
|
CONFIG_NR_DRAM_BANKS=6
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x7fff0
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0x0
|
|
CONFIG_DEFAULT_DEVICE_TREE="hi6220-hikey"
|
|
CONFIG_OF_LIBFDT_OVERLAY=y
|
|
CONFIG_SYS_LOAD_ADDR=0x80000
|
|
CONFIG_IDENT_STRING="hikey"
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_BOOTDELAY=10
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyAMA0,115200n8 root=/dev/mmcblk0p9 rw"
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=532
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_USB=y
|
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_MMC_EMMC_HW_PARTITION=2
|
|
CONFIG_HIKEY_GPIO=y
|
|
CONFIG_MMC_DW=y
|
|
CONFIG_MMC_DW_K3=y
|
|
CONFIG_POWER_LEGACY=y
|
|
CONFIG_POWER_HI6553=y
|
|
CONFIG_CONS_INDEX=4
|
|
CONFIG_USB=y
|
|
CONFIG_USB_DWC2=y
|
|
CONFIG_USB_HOST_ETHER=y
|
|
CONFIG_USB_ETHER_ASIX=y
|
|
CONFIG_USB_ETHER_SMSC95XX=y
|