diff options
author | Wenyou Yang <wenyou.yang@atmel.com> | 2016-10-28 14:17:49 +0800 |
---|---|---|
committer | Andreas Bießmann <andreas@biessmann.org> | 2016-10-28 18:37:15 +0200 |
commit | 0eafd4b77615efdd948e698d83be746dcf026a53 (patch) | |
tree | cc9e4ed2d7d1ed2265b784b70eef99cf0b3491b9 /drivers/spi/Kconfig | |
parent | 2992dd833d11cd988125b11ae72bc18e53b0b2ab (diff) |
dm: at91: Add driver model support for the spi driver
Add driver model support while retaining the existing legacy code.
This allows the driver to support boards that have converted to
driver model as well as those that have not.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 8724f87c49..0f51b3a21b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -32,6 +32,14 @@ config ATH79_SPI uses driver model and requires a device tree binding to operate. please refer to doc/device-tree-bindings/spi/spi-ath79.txt. +config ATMEL_SPI + bool "Atmel SPI driver" + depends on ARCH_AT91 + help + This enables driver for the Atmel SPI Controller, present on + many AT32 (AVR32) and AT91 (ARM) chips. This driver can be + used to access the SPI Flash, such as AT25DF321. + config CADENCE_QSPI bool "Cadence QSPI driver" help |