From 006bccbd0d757da78bfd2a244d96f61e0f7d2c66 Mon Sep 17 00:00:00 2001
From: Simon Glass <sjg@chromium.org>
Date: Sun, 25 Sep 2016 21:33:07 -0600
Subject: [PATCH] board_f: Drop the extra fdtdec_prepare_fdt()

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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/common/board_f.c b/common/board_f.c
index 1b888228ca..4b7483503e 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -911,9 +911,6 @@ static init_fnc_t init_sequence_f[] = {
 	console_init_f,		/* stage 1 init of console */
 #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 */
-- 
2.39.5