Message ID | 20200720141407.30241-12-ovidiu.panait@windriver.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
Series | [v3,01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM | expand |
On Mon, 20 Jul 2020 at 08:20, Ovidiu Panait <ovidiu.panait@windriver.com> wrote: > > Now that all arch specific code was converted to setup_bdinfo, we can > remove setup_board_part1. > > Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> > --- > > common/board_f.c | 12 +----------- > 1 file changed, 1 insertion(+), 11 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/common/board_f.c b/common/board_f.c index 7eb65fc224..25e805faa1 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -630,13 +630,6 @@ int setup_bdinfo(void) return arch_setup_bdinfo(); } -#if defined(CONFIG_MIPS) || defined(CONFIG_SH) -static int setup_board_part1(void) -{ - return 0; -} -#endif - #ifdef CONFIG_POST static int init_post(void) { @@ -957,11 +950,8 @@ static const init_fnc_t init_sequence_f[] = { reserve_stacks, dram_init_banksize, show_dram_config, - setup_bdinfo, -#if defined(CONFIG_MIPS) || defined(CONFIG_SH) - setup_board_part1, -#endif INIT_FUNC_WATCHDOG_RESET + setup_bdinfo, display_new_sp, #ifdef CONFIG_OF_BOARD_FIXUP fix_fdt,
Now that all arch specific code was converted to setup_bdinfo, we can remove setup_board_part1. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> --- common/board_f.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)