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
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_COUNTER_FREQUENCY=25165824
|
|
CONFIG_TARGET_THUNDERX_88XX=y
|
|
CONFIG_TEXT_BASE=0x00500000
|
|
CONFIG_SYS_MALLOC_LEN=0x101000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x400
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x57fff0
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_DEFAULT_DEVICE_TREE="thunderx-88xx"
|
|
CONFIG_SYS_BOOTM_LEN=0x800000
|
|
CONFIG_SYS_LOAD_ADDR=0x500000
|
|
CONFIG_DEBUG_UART_BASE=0x87e024000000
|
|
CONFIG_DEBUG_UART_CLOCK=24000000
|
|
CONFIG_IDENT_STRING=" for Cavium Thunder CN88XX ARM v8 Multi-Core"
|
|
CONFIG_DEBUG_UART=y
|
|
CONFIG_REMAKE_ELF=y
|
|
CONFIG_BOOTDELAY=5
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="console=ttyAMA0,115200n8 earlycon=pl011,0x87e024000000 debug maxcpus=48 rootwait rw root=/dev/sda2 coherent_pool=16M"
|
|
CONFIG_SYS_CBSIZE=512
|
|
CONFIG_SYS_PBSIZE=544
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_HUSH_PARSER=y
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
CONFIG_SYS_PROMPT="ThunderX_88XX> "
|
|
# CONFIG_CMD_EXPORTENV is not set
|
|
# CONFIG_CMD_IMPORTENV is not set
|
|
# CONFIG_CMD_EDITENV is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_NO_NET=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DEBUG_UART_SKIP_INIT=y
|