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
28 lines
752 B
Plaintext
28 lines
752 B
Plaintext
CONFIG_RISCV=y
|
|
CONFIG_SYS_MALLOC_LEN=0x20000
|
|
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
|
|
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x803fffff
|
|
CONFIG_ENV_SIZE=0x1000
|
|
CONFIG_ENV_OFFSET=0xfff000
|
|
CONFIG_ENV_SECT_SIZE=0x1000
|
|
CONFIG_SYS_LOAD_ADDR=0x80000000
|
|
CONFIG_SF_DEFAULT_BUS=3
|
|
CONFIG_TARGET_SIPEED_MAIX=y
|
|
CONFIG_ARCH_RV64I=y
|
|
CONFIG_STACK_SIZE=0x100000
|
|
# CONFIG_EFI_LOADER is not set
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="run k210_bootcmd"
|
|
CONFIG_SYS_CBSIZE=256
|
|
CONFIG_SYS_PBSIZE=276
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
# CONFIG_BOARD_INIT is not set
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_MTDIDS_DEFAULT="nor0=spi3:0"
|
|
CONFIG_MTDPARTS_DEFAULT="nor0:1M(u-boot),0x1000@0xfff000(env)"
|
|
CONFIG_NO_NET=y
|
|
CONFIG_CLK_K210_SET_RATE=y
|
|
# CONFIG_INPUT is not set
|
|
CONFIG_FS_EXT4=y
|
|
CONFIG_FS_FAT=y
|