diff mbox

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

Message ID 1415305231-30180-16-git-send-email-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show

Commit Message

Simon Glass Nov. 6, 2014, 8:20 p.m. UTC
This is no-longer needed so drop it.

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

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

Comments

Bin Meng Nov. 7, 2014, 9:53 a.m. UTC | #1
Hi Simon,

On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass <sjg@chromium.org> wrote:
> This is no-longer needed so drop it.
>
> Signed-off-by: Simon Glass <sjg@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@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
diff mbox

Patch

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@chromium.org): remove */
-# endif
-#endif
 	mark_bootstage,
 #ifdef CONFIG_OF_CONTROL
 	fdtdec_check_fdt,