diff options
| author | Sam Protsenko <[email protected]> | 2025-07-16 21:44:26 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-07-24 13:30:19 -0600 |
| commit | 70a4d1fa1ddb2f5f8f9a27442563f182549abbb5 (patch) | |
| tree | 640e96b6367a176d682b3d6b2d2d6ec82fb56bd2 /configs/am65x_evm_a53_defconfig | |
| parent | 70bf6e33e15e2ce56f6e3e9a3f725136c9c6f486 (diff) | |
treewide: Remove empty board_init() function from all boards
Commit 86acdce2ba88 ("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 <[email protected]>
Tested-by: Adam Ford <[email protected]> #imx8mm_beacon
Tested-by: Bryan Brattlof <[email protected]>
Acked-by: Peng Fan <[email protected]> #NXP boards
Diffstat (limited to 'configs/am65x_evm_a53_defconfig')
| -rw-r--r-- | configs/am65x_evm_a53_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/am65x_evm_a53_defconfig b/configs/am65x_evm_a53_defconfig index 438ec8a1c56..bf44c19befe 100644 --- a/configs/am65x_evm_a53_defconfig +++ b/configs/am65x_evm_a53_defconfig @@ -39,6 +39,7 @@ CONFIG_BOOTSTD_BOOTCOMMAND=y CONFIG_DISTRO_DEFAULTS=y CONFIG_OF_SYSTEM_SETUP=y CONFIG_LOGLEVEL=7 +# CONFIG_BOARD_INIT is not set CONFIG_SPL_MAX_SIZE=0x58000 CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SYS_MALLOC=y |
