Re: [U-Boot] [PATCH 35/82] x86: Drop unused init_helper functions
On Tue, Oct 11, 2016 at 11:17 AM, Bin Mengwrote: > On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass wrote: >> Drop init_bd_struct_r() which is no-longer used. Also drop the declaration >> for init_func_spi() since this is now handled by generic board init. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/x86/include/asm/init_helpers.h | 2 -- >> arch/x86/lib/init_helpers.c | 10 -- >> 2 files changed, 12 deletions(-) >> > > Reviewed-by: Bin Meng applied to u-boot-x86, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 35/82] x86: Drop unused init_helper functions
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glasswrote: > Drop init_bd_struct_r() which is no-longer used. Also drop the declaration > for init_func_spi() since this is now handled by generic board init. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/init_helpers.h | 2 -- > arch/x86/lib/init_helpers.c | 10 -- > 2 files changed, 12 deletions(-) > Reviewed-by: Bin Meng ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
[U-Boot] [PATCH 35/82] x86: Drop unused init_helper functions
Drop init_bd_struct_r() which is no-longer used. Also drop the declaration for init_func_spi() since this is now handled by generic board init. Signed-off-by: Simon Glass--- arch/x86/include/asm/init_helpers.h | 2 -- arch/x86/lib/init_helpers.c | 10 -- 2 files changed, 12 deletions(-) diff --git a/arch/x86/include/asm/init_helpers.h b/arch/x86/include/asm/init_helpers.h index c689a63..ef05ac4 100644 --- a/arch/x86/include/asm/init_helpers.h +++ b/arch/x86/include/asm/init_helpers.h @@ -9,7 +9,5 @@ #define _INIT_HELPERS_H_ int init_cache_f_r(void); -int init_bd_struct_r(void); -int init_func_spi(void); #endif /* !_INIT_HELPERS_H_ */ diff --git a/arch/x86/lib/init_helpers.c b/arch/x86/lib/init_helpers.c index bac671d..2a186fc 100644 --- a/arch/x86/lib/init_helpers.c +++ b/arch/x86/lib/init_helpers.c @@ -30,13 +30,3 @@ int init_cache_f_r(void) /* Initialise the CPU cache(s) */ return init_cache(); } - -bd_t bd_data; - -int init_bd_struct_r(void) -{ - gd->bd = _data; - memset(gd->bd, 0, sizeof(bd_t)); - - return 0; -} -- 2.8.0.rc3.226.g39d4020 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot