spi: Migrate CONFIG_MPC8XXX_SPI to Kconfig

Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
This commit is contained in:
Tuomas Tynkkynen 2018-02-07 02:42:20 +02:00 committed by Tom Rini
parent 60e5456291
commit bbdf38698e
6 changed files with 7 additions and 3 deletions

View File

@ -17,4 +17,5 @@ CONFIG_MTD_NOR_FLASH=y
CONFIG_PHYLIB=y CONFIG_PHYLIB=y
# CONFIG_PCI is not set # CONFIG_PCI is not set
CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550=y
CONFIG_MPC8XXX_SPI=y
CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT=y

View File

@ -34,4 +34,5 @@ CONFIG_MTD_NOR_FLASH=y
CONFIG_PHYLIB=y CONFIG_PHYLIB=y
# CONFIG_PCI is not set # CONFIG_PCI is not set
CONFIG_SYS_NS16550=y CONFIG_SYS_NS16550=y
CONFIG_MPC8XXX_SPI=y
CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT=y

View File

@ -263,6 +263,11 @@ config MPC8XX_SPI
help help
Enable support for SPI on MPC8XX 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 config MXC_SPI
bool "MXC SPI Driver" bool "MXC SPI Driver"
help help

View File

@ -330,7 +330,6 @@
#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} } #define CONFIG_SYS_I2C_NOPROBES { {0, 0x69} }
/* SPI */ /* SPI */
#define CONFIG_MPC8XXX_SPI
#undef CONFIG_SOFT_SPI /* SPI bit-banged */ #undef CONFIG_SOFT_SPI /* SPI bit-banged */
/* GPIOs. Used as SPI chip selects */ /* GPIOs. Used as SPI chip selects */

View File

@ -285,7 +285,6 @@
* SPI setup * SPI setup
*/ */
#ifdef CONFIG_HARD_SPI #ifdef CONFIG_HARD_SPI
#define CONFIG_MPC8XXX_SPI
#define CONFIG_SYS_GPIO1_PRELIM #define CONFIG_SYS_GPIO1_PRELIM
#define CONFIG_SYS_GPIO1_DIR 0x00000001 #define CONFIG_SYS_GPIO1_DIR 0x00000001
#define CONFIG_SYS_GPIO1_DAT 0x00000001 #define CONFIG_SYS_GPIO1_DAT 0x00000001

View File

@ -1368,7 +1368,6 @@ CONFIG_MPC83XX_PCI2
CONFIG_MPC85XX_FEC CONFIG_MPC85XX_FEC
CONFIG_MPC85XX_FEC_NAME CONFIG_MPC85XX_FEC_NAME
CONFIG_MPC85XX_PCI2 CONFIG_MPC85XX_PCI2
CONFIG_MPC8XXX_SPI
CONFIG_MPC8xxx_DISABLE_BPTR CONFIG_MPC8xxx_DISABLE_BPTR
CONFIG_MPLL_FREQ CONFIG_MPLL_FREQ
CONFIG_MP_CLK_FREQ CONFIG_MP_CLK_FREQ