[U-Boot] [PATCH 15/39] x86: Remove unnecessary find_fdt() function
Bin Meng
bmeng.cn at gmail.com
Fri Nov 7 10:53:41 CET 2014
Hi Simon,
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass <sjg at chromium.org> wrote:
> 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,
> --
Please remove the find_fdt() in arch/x86/lib/init_helpers.c as well.
Regards,
Bin
More information about the U-Boot
mailing list