[U-Boot] [PATCH 15/39] x86: Remove unnecessary find_fdt() function

Simon Glass sjg at chromium.org
Thu Nov 6 21:20:07 CET 2014


This is no-longer needed so drop it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/include/asm/init_helpers.h | 1 -
 common/board_f.c                    | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/arch/x86/include/asm/init_helpers.h b/arch/x86/include/asm/init_helpers.h
index b07887e..f380a8d 100644
--- a/arch/x86/include/asm/init_helpers.h
+++ b/arch/x86/include/asm/init_helpers.h
@@ -13,7 +13,6 @@ int calculate_relocation_address(void);
 int init_cache_f_r(void);
 int init_bd_struct_r(void);
 int init_func_spi(void);
-int find_fdt(void);
 int prepare_fdt(void);
 
 #endif	/* !_INIT_HELPERS_H_ */
diff --git a/common/board_f.c b/common/board_f.c
index f81f70d..6e6a1a2 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -818,11 +818,6 @@ static init_fnc_t init_sequence_f[] = {
 	probecpu,
 #endif
 	arch_cpu_init,		/* basic arch cpu dependent setup */
-#ifdef CONFIG_X86
-# ifdef CONFIG_OF_CONTROL
-	find_fdt,		/* TODO(sjg at chromium.org): remove */
-# endif
-#endif
 	mark_bootstage,
 #ifdef CONFIG_OF_CONTROL
 	fdtdec_check_fdt,
-- 
2.1.0.rc2.206.gedb03e5



More information about the U-Boot mailing list