summaryrefslogtreecommitdiff
path: root/arch/x86/lib/init_helpers.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-26 03:33:38 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2016-10-11 03:55:33 (GMT)
commit9b43dbfb91e0884b817405b3b2985259cabb4ce8 (patch)
tree878403c4c61d8a0ed88b7e62628fd536e06fafd3 /arch/x86/lib/init_helpers.c
parent2545fa59f89294875db94f5edbd9e435cdd36c4f (diff)
downloadu-boot-9b43dbfb91e0884b817405b3b2985259cabb4ce8.tar.xz
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>
Diffstat (limited to 'arch/x86/lib/init_helpers.c')
-rw-r--r--arch/x86/lib/init_helpers.c10
1 files changed, 0 insertions, 10 deletions
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 = &bd_data;
- memset(gd->bd, 0, sizeof(bd_t));
-
- return 0;
-}