projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rockchip: rk3288: sdram: style fixes from rk3188 sdram review
[oweals/u-boot.git]
/
drivers
/
spi
/
soft_spi_legacy.c
diff --git
a/drivers/spi/soft_spi_legacy.c
b/drivers/spi/soft_spi_legacy.c
index c969be31eb31828066e2c044c825529d6412db69..941daa730b0a7c6e6b9b7c1326d8526dd480e559 100644
(file)
--- a/
drivers/spi/soft_spi_legacy.c
+++ b/
drivers/spi/soft_spi_legacy.c
@@
-42,11
+42,6
@@
static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave)
*/
void spi_init (void)
{
-#ifdef SPI_INIT
- volatile immap_t *immr = (immap_t *)CONFIG_SYS_IMMR;
-
- SPI_INIT;
-#endif
}
struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,