diff options
author | Tom Rini <trini@konsulko.com> | 2017-05-12 22:33:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-15 10:40:01 -0400 |
commit | 25eaa288016beef4e4229a729e1c732f545ee1f7 (patch) | |
tree | bf3bb06712e6876a0e820fbda97b8a90da4110d8 /drivers/spi | |
parent | 68ccab51936d92551e3e65944af172ad64ca2ca9 (diff) |
omap: spi: Drop CONFIG_OMAP3_SPI_D0_D1_SWAPPED support
This particular quirk is not enabled in any config files today. It does
however exist and is handled correctly in device trees and via
CONFIG_DM_SPI. So we drop the symbol now and add a comment to indicate
that any (new) boards that require this quirk need to enable DM_SPI
instead.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/omap3_spi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index 76d376ac44..3caea151c5 100644 --- a/drivers/spi/omap3_spi.c +++ b/drivers/spi/omap3_spi.c @@ -568,7 +568,8 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, priv->freq = max_hz; priv->mode = mode; priv->wordlen = priv->slave.wordlen; -#ifdef CONFIG_OMAP3_SPI_D0_D1_SWAPPED +#if 0 + /* Please migrate to DM_SPI support for this feature. */ priv->pin_dir = MCSPI_PINDIR_D0_OUT_D1_IN; #endif |