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 <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
2545fa59f8
commit
9b43dbfb91
@ -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_ */
|
||||
|
@ -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 = &bd_data;
|
||||
memset(gd->bd, 0, sizeof(bd_t));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user