]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board_f: Remove setup_board_part1
authorOvidiu Panait <ovidiu.panait@windriver.com>
Fri, 24 Jul 2020 11:12:20 +0000 (14:12 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 6 Aug 2020 18:26:35 +0000 (14:26 -0400)
Now that all arch specific code was converted to setup_bdinfo, we can
remove setup_board_part1.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
common/board_f.c

index e670155417558c219712433430de349d008b45f3..79532f4365683a2514ba2f4f900ef580e026615a 100644 (file)
@@ -618,13 +618,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)
 {
@@ -945,11 +938,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,