
7 Aug
2020
7 Aug
'20
4:15 a.m.
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@chromium.org Signed-off-by: Ovidiu Panait ovidiu.panait@windriver.com
Applied to u-boot/master, thanks!
--
Tom