summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-11-24 14:31:12 +0530
committerJagan Teki <jagan@amarulasolutions.com>2018-11-27 21:06:53 +0530
commit35f9d9bdd07d5e508272421b215ffaffd867bad8 (patch)
treeaa441062a0012fa4811453ea67866c8017664e00 /board
parentefbeabee79a28760837fcd5e75ff53d8bb857835 (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 'board')
-rw-r--r--board/freescale/mpc8349emds/mpc8349emds.c2
-rw-r--r--board/ids/ids8313/ids8313.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/mpc8349emds/mpc8349emds.c b/board/freescale/mpc8349emds/mpc8349emds.c
index 4ec0af4d1c..d40ed3742e 100644
--- a/board/freescale/mpc8349emds/mpc8349emds.c
+++ b/board/freescale/mpc8349emds/mpc8349emds.c
@@ -273,7 +273,7 @@ void spi_cs_deactivate(struct spi_slave *slave)
iopd->dat |= SPI_CS_MASK;
}
-#endif /* CONFIG_HARD_SPI */
+#endif
#if defined(CONFIG_OF_BOARD_SETUP)
int ft_board_setup(void *blob, bd_t *bd)
diff --git a/board/ids/ids8313/ids8313.c b/board/ids/ids8313/ids8313.c
index a411d4e7f6..d547af4b05 100644
--- a/board/ids/ids8313/ids8313.c
+++ b/board/ids/ids8313/ids8313.c
@@ -208,4 +208,4 @@ void spi_cs_deactivate(struct spi_slave *slave)
/* deactivate the spi_cs */
setbits_be32(&iopd->dat, IDSCPLD_SPI_CS_MASK);
}
-#endif /* CONFIG_HARD_SPI */
+#endif