diff options
author | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-22 21:38:38 +0530 |
---|---|---|
committer | Jagan Teki <jagan@amarulasolutions.com> | 2018-11-27 21:06:53 +0530 |
commit | efbeabee79a28760837fcd5e75ff53d8bb857835 (patch) | |
tree | e01a10e28c777cb5124c68b86292aaabc58994ba /common/board_r.c | |
parent | f34d0315e9fec21baed198500d58d1613cf4d17c (diff) | |
download | u-boot-efbeabee79a28760837fcd5e75ff53d8bb857835.tar.gz |
spi: Remove unused mpc8xx code
- spi_init_f
- spi_init_r
- spi_read
- spi_write
these spi calls are exclusively for mpc8xx, but
the relevant driver is not available so remove it.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r-- | common/board_r.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/board_r.c b/common/board_r.c index c55e33eec2..3ccef5467b 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -382,13 +382,6 @@ static int initr_flash(void) #if defined(CONFIG_PPC) && !defined(CONFIG_DM_SPI) static int initr_spi(void) { - /* MPC8xx does this here */ -#ifdef CONFIG_MPC8XX_SPI -#if !defined(CONFIG_ENV_IS_IN_EEPROM) - spi_init_f(); -#endif - spi_init_r(); -#endif return 0; } #endif |