[PATCH v4 07/17] board_f: Introduce arch_setup_bdinfo initcall

Tom Rini trini at konsulko.com
Fri Aug 7 04:15:17 CEST 2020


On Fri, Jul 24, 2020 at 02:12:15PM +0300, Ovidiu Panait wrote:

> Certain architectures (ppc, mips, sh, m68k) use setup board_part1 and
> setup_board_part2 calls during pre-relocation init to populate gd->bd
> boardinfo fields. This makes the generic init sequence cluttered with
> arch-specific ifdefs.
> 
> In order to clean these arch-specific sequences from generic init,
> introduce arch_setup_bdinfo weak initcall so that everyone can define their
> own bdinfo setup routines.
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200806/765a6e1f/attachment.sig>


More information about the U-Boot mailing list