]> git.sur5r.net Git - u-boot/commitdiff
x86: Drop unused init_helper functions
authorSimon Glass <sjg@chromium.org>
Mon, 26 Sep 2016 03:33:38 +0000 (21:33 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 11 Oct 2016 03:55:33 +0000 (11:55 +0800)
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>
arch/x86/include/asm/init_helpers.h
arch/x86/lib/init_helpers.c

index c689a632662143a3f06cad3969e58f79f21f3ebd..ef05ac47813a6db75233b94788a73fa78d60395e 100644 (file)
@@ -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_ */
index bac671d5490889ef8abe977e855d7bfbcfb1c3e2..2a186fc22f6e94072aeed2dfb5bc4a3520ebea9f 100644 (file)
@@ -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;
-}