]> git.sur5r.net Git - u-boot/commitdiff
spi: Migrate CONFIG_MPC8XXX_SPI to Kconfig
authorTuomas Tynkkynen <tuomas@tuxera.com>
Wed, 7 Feb 2018 00:42:20 +0000 (02:42 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 04:01:44 +0000 (23:01 -0500)
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
configs/MPC8349EMDS_defconfig
configs/ids8313_defconfig
drivers/spi/Kconfig
include/configs/MPC8349EMDS.h
include/configs/ids8313.h
scripts/config_whitelist.txt

index 523b841e32b5d6495da12c5e2d00a30c1f0e3eef..2132ee4ae0e9d51cca96968a4bb39d495a5f0c80 100644 (file)
@@ -17,4 +17,5 @@ CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
 # CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
+CONFIG_MPC8XXX_SPI=y
 CONFIG_OF_LIBFDT=y
index ccb84e45bb1f604a8ffda52c14de4755828c4c54..ab4493d3e32d325602d3d80b6b5735bf26ef804d 100644 (file)
@@ -34,4 +34,5 @@ CONFIG_MTD_NOR_FLASH=y
 CONFIG_PHYLIB=y
 # CONFIG_PCI is not set
 CONFIG_SYS_NS16550=y
+CONFIG_MPC8XXX_SPI=y
 CONFIG_OF_LIBFDT=y
index e7e1ccd73a8782967912e0b01126c80ab64a3778..a16faa6dfb5ea035109a730e473401c927d240bb 100644 (file)
@@ -263,6 +263,11 @@ config MPC8XX_SPI
        help
          Enable support for SPI on MPC8XX
 
+config MPC8XXX_SPI
+       bool "MPC8XXX SPI Driver"
+       help
+         Enable support for SPI on the MPC8XXX PowerPC SoCs.
+
 config MXC_SPI
        bool "MXC SPI Driver"
        help
index dabab105487a2d4a92070c7620d0f893b6646c75..a95f45c73150d2af9ee3c12a39c5080c47a294d0 100644 (file)
 #define CONFIG_SYS_I2C_NOPROBES                { {0, 0x69} }
 
 /* SPI */
-#define CONFIG_MPC8XXX_SPI
 #undef CONFIG_SOFT_SPI                 /* SPI bit-banged */
 
 /* GPIOs.  Used as SPI chip selects */
index 12eb07d1f7e587738a30f59e48943194ad0bb5b6..0b5b4a5c75f0c2682355dd27962f64893b503f21 100644 (file)
  * SPI setup
  */
 #ifdef CONFIG_HARD_SPI
-#define CONFIG_MPC8XXX_SPI
 #define CONFIG_SYS_GPIO1_PRELIM
 #define CONFIG_SYS_GPIO1_DIR           0x00000001
 #define CONFIG_SYS_GPIO1_DAT           0x00000001
index 30db0572c7d676f59b32790fb9ca4b802fc6c886..b340fc12d96f95cb807cf9ac5a9d7f22f4932db9 100644 (file)
@@ -1368,7 +1368,6 @@ CONFIG_MPC83XX_PCI2
 CONFIG_MPC85XX_FEC
 CONFIG_MPC85XX_FEC_NAME
 CONFIG_MPC85XX_PCI2
-CONFIG_MPC8XXX_SPI
 CONFIG_MPC8xxx_DISABLE_BPTR
 CONFIG_MPLL_FREQ
 CONFIG_MP_CLK_FREQ