mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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>
This commit is contained in:
@ -568,7 +568,8 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
|
|||||||
priv->freq = max_hz;
|
priv->freq = max_hz;
|
||||||
priv->mode = mode;
|
priv->mode = mode;
|
||||||
priv->wordlen = priv->slave.wordlen;
|
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;
|
priv->pin_dir = MCSPI_PINDIR_D0_OUT_D1_IN;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1981,7 +1981,6 @@ CONFIG_OF_STDOUT_PATH
|
|||||||
CONFIG_OF_SUPPORT_OLD_DEVICE_TREES
|
CONFIG_OF_SUPPORT_OLD_DEVICE_TREES
|
||||||
CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID
|
CONFIG_OMAP3_LOGIC_USE_NEW_PRODUCT_ID
|
||||||
CONFIG_OMAP3_MICRON_DDR
|
CONFIG_OMAP3_MICRON_DDR
|
||||||
CONFIG_OMAP3_SPI_D0_D1_SWAPPED
|
|
||||||
CONFIG_OMAP_EHCI_PHY1_RESET_GPIO
|
CONFIG_OMAP_EHCI_PHY1_RESET_GPIO
|
||||||
CONFIG_OMAP_EHCI_PHY2_RESET_GPIO
|
CONFIG_OMAP_EHCI_PHY2_RESET_GPIO
|
||||||
CONFIG_OMAP_EHCI_PHY3_RESET_GPIO
|
CONFIG_OMAP_EHCI_PHY3_RESET_GPIO
|
||||||
|
Reference in New Issue
Block a user