diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-24 14:31:12 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-27 21:06:53 +0530 |
commit | 35f9d9bdd07d5e508272421b215ffaffd867bad8 (patch) | |
tree | aa441062a0012fa4811453ea67866c8017664e00 /common/board_f.c | |
parent | efbeabee79a28760837fcd5e75ff53d8bb857835 (diff) |
spi: Zap CONFIG_HARD_SPI
In legacy CONFIG_HARD_SPI initalizing spi_init code, which
was removed during dm conversion cleanup.
So remove the dead instances of CONFIG_HARD_SPI, and related
code.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'common/board_f.c')
-rw-r--r-- | common/board_f.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/common/board_f.c b/common/board_f.c index 60634e52cd..a3e80ca951 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -257,15 +257,6 @@ __weak int init_func_vid(void) } #endif -#if defined(CONFIG_HARD_SPI) -static int init_func_spi(void) -{ - puts("SPI: "); - puts("ready\n"); - return 0; -} -#endif - static int setup_mon_len(void) { #if defined(__ARM__) || defined(__MICROBLAZE__) @@ -864,9 +855,6 @@ static const init_fnc_t init_sequence_f[] = { #if defined(CONFIG_VID) && !defined(CONFIG_SPL) init_func_vid, #endif -#if defined(CONFIG_HARD_SPI) - init_func_spi, -#endif announce_dram_init, dram_init, /* configure available RAM banks */ #ifdef CONFIG_POST |