summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-22 21:38:38 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commitefbeabee79a28760837fcd5e75ff53d8bb857835 (patch)
treee01a10e28c777cb5124c68b86292aaabc58994ba /include/common.h
parentf34d0315e9fec21baed198500d58d1613cf4d17c (diff)
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 'include/common.h')
-rw-r--r--include/common.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/common.h b/include/common.h
index 3f69943887..cfbdf7ebcb 100644
--- a/include/common.h
+++ b/include/common.h
@@ -276,13 +276,6 @@ int eeprom_write (unsigned dev_addr, unsigned offset, uchar *buffer, unsigned c
# define CONFIG_SYS_DEF_EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR
#endif
-#if defined(CONFIG_MPC8XX_SPI)
-extern void spi_init_f (void);
-extern void spi_init_r (void);
-extern ssize_t spi_read (uchar *, int, uchar *, int);
-extern ssize_t spi_write (uchar *, int, uchar *, int);
-#endif
-
/* $(BOARD)/$(BOARD).c */
int board_early_init_f (void);
int board_fix_fdt (void *rw_fdt_blob); /* manipulate the U-Boot fdt before its relocation */