Skip to content
Commit 81e7cb1e authored by Ovidiu Panait's avatar Ovidiu Panait Committed by Tom Rini
Browse files

board_f: Introduce arch_setup_bdinfo initcall



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: default avatarSimon Glass <sjg@chromium.org>
Signed-off-by: default avatarOvidiu Panait <ovidiu.panait@windriver.com>
parent ba743103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment