board_f: Drop the extra fdtdec_prepare_fdt()
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:07 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
This is already called earlier, from fdtdec_setup(), so drop this unnecessary
call from the init sequence.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
common/board_f.c

index 1b88822..4b74835 100644 (file)
@@ -912,9 +912,6 @@ static init_fnc_t init_sequence_f[] = {
 #ifdef CONFIG_SANDBOX
        sandbox_early_getopt_check,
 #endif
-#ifdef CONFIG_OF_CONTROL
-       fdtdec_prepare_fdt,
-#endif
        display_options,        /* say that we are here */
        display_text_info,      /* show debugging info if required */
 #if defined(CONFIG_MPC8260)