]> git.ipfire.org Git - thirdparty/u-boot.git/commit
common: add config for board_init() call
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 7 May 2025 12:23:42 +0000 (13:23 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 22 May 2025 19:55:17 +0000 (13:55 -0600)
commit86acdce2ba886153f152b924b28e5c040e316c80
tree08d10991f3ee56ab7367e1736792b3250fab3bee
parent1bf212129768d65a47145209c65bf37b6082d718
common: add config for board_init() call

Add CONFIG_BOARD_INIT to specifu if the board_init() needs calling
during initcall phase, and default it to 'y' for the relevant
architectures which probably need it.

This allows anyone with a board that doesn't need it to just remove
it from the initcall list w/o an empty code block in the board init
file.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Tom Rini <trini@konsulko.com>
common/Kconfig
common/board_r.c