diff options
author | Tuomas Tynkkynen | 2018-02-07 02:42:16 +0200 |
---|---|---|
committer | Tom Rini | 2018-02-13 23:00:29 -0500 |
commit | 95d3877a5818cc3f149a9d443637ff145bbaaabb (patch) | |
tree | d19b3322f5bb9cbac21d5fd58b898c3c4db00c05 | |
parent | 4d69009462accf492d6fc90dc6777c7ea77d2c1e (diff) |
spi: Migrate CONFIG_SH_SPI to Kconfig
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | configs/sh7752evb_defconfig | 1 | ||||
-rw-r--r-- | configs/sh7753evb_defconfig | 1 | ||||
-rw-r--r-- | configs/sh7757lcr_defconfig | 1 | ||||
-rw-r--r-- | drivers/spi/Kconfig | 6 | ||||
-rw-r--r-- | include/configs/sh7752evb.h | 1 | ||||
-rw-r--r-- | include/configs/sh7753evb.h | 1 | ||||
-rw-r--r-- | include/configs/sh7757lcr.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
9 files changed, 9 insertions, 9 deletions
@@ -2001,11 +2001,6 @@ The following options need to be configured: SPI EEPROM, also an instance works with Crystal A/D and D/As on the SACSng board) - CONFIG_SH_SPI - - Enables the driver for SPI controller on SuperH. Currently - only SH7757 is supported. - CONFIG_SOFT_SPI Enables a software (bit-bang) SPI driver rather than diff --git a/configs/sh7752evb_defconfig b/configs/sh7752evb_defconfig index 3d68122c9c3..db460978aa1 100644 --- a/configs/sh7752evb_defconfig +++ b/configs/sh7752evb_defconfig @@ -37,4 +37,5 @@ CONFIG_SPI_FLASH_STMICRO=y CONFIG_NETDEVICES=y CONFIG_SH_ETHER=y CONFIG_SCIF_CONSOLE=y +CONFIG_SH_SPI=y CONFIG_USE_PRIVATE_LIBGCC=y diff --git a/configs/sh7753evb_defconfig b/configs/sh7753evb_defconfig index f31093a0bec..c747384e1b4 100644 --- a/configs/sh7753evb_defconfig +++ b/configs/sh7753evb_defconfig @@ -36,4 +36,5 @@ CONFIG_SPI_FLASH_STMICRO=y CONFIG_NETDEVICES=y CONFIG_SH_ETHER=y CONFIG_SCIF_CONSOLE=y +CONFIG_SH_SPI=y CONFIG_USE_PRIVATE_LIBGCC=y diff --git a/configs/sh7757lcr_defconfig b/configs/sh7757lcr_defconfig index 2fab7f7ab8f..38e08411d31 100644 --- a/configs/sh7757lcr_defconfig +++ b/configs/sh7757lcr_defconfig @@ -36,4 +36,5 @@ CONFIG_SPI_FLASH_STMICRO=y CONFIG_NETDEVICES=y CONFIG_SH_ETHER=y CONFIG_SCIF_CONSOLE=y +CONFIG_SH_SPI=y CONFIG_USE_PRIVATE_LIBGCC=y diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 1e95dc4559b..3d2cd2db007 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -239,6 +239,12 @@ config DAVINCI_SPI help Enable the Davinci SPI driver +config SH_SPI + bool "SuperH SPI driver" + help + Enable the SuperH SPI controller driver. This driver can be used + on various SuperH SoCs, such as SH7757. + config TI_QSPI bool "TI QSPI driver" help diff --git a/include/configs/sh7752evb.h b/include/configs/sh7752evb.h index 14d66d4747f..f30c37b5954 100644 --- a/include/configs/sh7752evb.h +++ b/include/configs/sh7752evb.h @@ -61,7 +61,6 @@ #define SH7752EVB_ETHERNET_NUM_CH 2 /* SPI */ -#define CONFIG_SH_SPI 1 #define CONFIG_SH_SPI_BASE 0xfe002000 /* MMCIF */ diff --git a/include/configs/sh7753evb.h b/include/configs/sh7753evb.h index 1f5a4415ae4..4dbdfb707b4 100644 --- a/include/configs/sh7753evb.h +++ b/include/configs/sh7753evb.h @@ -61,7 +61,6 @@ #define SH7753EVB_ETHERNET_NUM_CH 2 /* SPI */ -#define CONFIG_SH_SPI 1 #define CONFIG_SH_SPI_BASE 0xfe002000 /* MMCIF */ diff --git a/include/configs/sh7757lcr.h b/include/configs/sh7757lcr.h index ac214cdd954..314bc53faaa 100644 --- a/include/configs/sh7757lcr.h +++ b/include/configs/sh7757lcr.h @@ -63,7 +63,6 @@ #define SH7757LCR_GIGA_ETHERNET_NUM_CH 2 /* SPI */ -#define CONFIG_SH_SPI 1 #define CONFIG_SH_SPI_BASE 0xfe002000 /* MMCIF */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index e5b6831633d..9626761ac7f 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -1902,7 +1902,6 @@ CONFIG_SH_QSPI_BASE CONFIG_SH_SCIF_CLK_FREQ CONFIG_SH_SDHI_FREQ CONFIG_SH_SDRAM_OFFSET -CONFIG_SH_SPI CONFIG_SH_SPI_BASE CONFIG_SH_TMU_CLK_FREQ CONFIG_SIEMENS_DRACO |