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

2014-11-07 Thread Bin Meng
Hi Simon,

On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass s...@chromium.org wrote:
 This is no-longer needed so drop it.

 Signed-off-by: Simon Glass s...@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(s...@chromium.org): remove */
 -# endif
 -#endif
 mark_bootstage,
  #ifdef CONFIG_OF_CONTROL
 fdtdec_check_fdt,
 --

Please remove the find_fdt() in arch/x86/lib/init_helpers.c as well.

Regards,
Bin
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2014-11-06 Thread Simon Glass
This is no-longer needed so drop it.

Signed-off-by: Simon Glass s...@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(s...@chromium.org): remove */
-# endif
-#endif
mark_bootstage,
 #ifdef CONFIG_OF_CONTROL
fdtdec_check_fdt,
-- 
2.1.0.rc2.206.gedb03e5

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot