]> git.sur5r.net Git - u-boot/commitdiff
spi: Migrate CONFIG_SH_SPI to Kconfig
authorTuomas Tynkkynen <tuomas@tuxera.com>
Wed, 7 Feb 2018 00:42:16 +0000 (02:42 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 04:00:29 +0000 (23:00 -0500)
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
README
configs/sh7752evb_defconfig
configs/sh7753evb_defconfig
configs/sh7757lcr_defconfig
drivers/spi/Kconfig
include/configs/sh7752evb.h
include/configs/sh7753evb.h
include/configs/sh7757lcr.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 81b7ee1ce8a759e85028ec750db2b6a777dfe3a3..409e8f85b454ad7bb6b7c45fba68114849047976 100644 (file)
--- a/README
+++ b/README
@@ -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
index 3d68122c9c32cc99c88089d2d95f768fdcff1a64..db460978aa1e7f17901b3bd3842ceac412ddcdd6 100644 (file)
@@ -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
index f31093a0bec44a30f7616b0a5df0455d7c54b135..c747384e1b48c0454af85ec28b99b6ae498f9d1c 100644 (file)
@@ -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
index 2fab7f7ab8f15fb78167ac8307ff9ce27922bcce..38e08411d31af6e1452263d4c5961d4310853f53 100644 (file)
@@ -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
index 1e95dc4559bc8857bb903eca636305665e6b2981..3d2cd2db0072d6c39e1a2fc9c58c0af476521907 100644 (file)
@@ -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
index 14d66d4747f1bd481279f8488fa4f91004f764f6..f30c37b595470851ea6d17bae65b7787a466df5e 100644 (file)
@@ -61,7 +61,6 @@
 #define SH7752EVB_ETHERNET_NUM_CH      2
 
 /* SPI */
-#define CONFIG_SH_SPI                  1
 #define CONFIG_SH_SPI_BASE             0xfe002000
 
 /* MMCIF */
index 1f5a4415ae4176cd8890a176047edc6bc0e644bf..4dbdfb707b4c9150dad875aa673ff0c106530b11 100644 (file)
@@ -61,7 +61,6 @@
 #define SH7753EVB_ETHERNET_NUM_CH      2
 
 /* SPI */
-#define CONFIG_SH_SPI                  1
 #define CONFIG_SH_SPI_BASE             0xfe002000
 
 /* MMCIF */
index ac214cdd95440f7096d013b0a5bd2c48fbfd5666..314bc53faaa782e471322286839ee7ec6c01f54b 100644 (file)
@@ -63,7 +63,6 @@
 #define SH7757LCR_GIGA_ETHERNET_NUM_CH 2
 
 /* SPI */
-#define CONFIG_SH_SPI                  1
 #define CONFIG_SH_SPI_BASE             0xfe002000
 
 /* MMCIF */
index e5b6831633d261e9271095f47fde53af0738644f..9626761ac7f54eea8200aba89b1ae16dfa5b3d10 100644 (file)
@@ -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