diff options
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9949c252c23d..4b9eec68fad6 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig | |||
@@ -143,10 +143,26 @@ config SPI_GPIO | |||
143 | GPIO operations, you should be able to leverage that for better | 143 | GPIO operations, you should be able to leverage that for better |
144 | speed with a custom version of this driver; see the source code. | 144 | speed with a custom version of this driver; see the source code. |
145 | 145 | ||
146 | config SPI_IMX_VER_IMX1 | ||
147 | def_bool y if SOC_IMX1 | ||
148 | |||
149 | config SPI_IMX_VER_0_0 | ||
150 | def_bool y if SOC_IMX21 || SOC_IMX27 | ||
151 | |||
152 | config SPI_IMX_VER_0_4 | ||
153 | def_bool y if ARCH_MX31 | ||
154 | |||
155 | config SPI_IMX_VER_0_7 | ||
156 | def_bool y if ARCH_MX25 || ARCH_MX35 || ARCH_MX51 | ||
157 | |||
158 | config SPI_IMX_VER_2_3 | ||
159 | def_bool y if ARCH_MX51 | ||
160 | |||
146 | config SPI_IMX | 161 | config SPI_IMX |
147 | tristate "Freescale i.MX SPI controllers" | 162 | tristate "Freescale i.MX SPI controllers" |
148 | depends on ARCH_MXC | 163 | depends on ARCH_MXC |
149 | select SPI_BITBANG | 164 | select SPI_BITBANG |
165 | default m if IMX_HAVE_PLATFORM_SPI_IMX | ||
150 | help | 166 | help |
151 | This enables using the Freescale i.MX SPI controllers in master | 167 | This enables using the Freescale i.MX SPI controllers in master |
152 | mode. | 168 | mode. |