diff options
author | Adam Ford <aford173@gmail.com> | 2018-04-15 20:51:26 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-04-27 21:54:11 +0300 |
commit | f1b1f77060beadbfe9f42a3be00019bd025afbd6 (patch) | |
tree | c3c189037cd6ccdb3e3ece5c60e08d86215627f5 /arch | |
parent | ec37f05ec0a999e0bd79f87354716df6f9bc074d (diff) | |
download | u-boot-f1b1f77060beadbfe9f42a3be00019bd025afbd6.tar.xz |
Convert CONFIG_SPI to Kconfig
This converts the following to Kconfig:
CONFIG_SPI
This partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Kconfig | 5 | ||||
-rw-r--r-- | arch/arm/mach-at91/Kconfig | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/Kconfig | 1 |
4 files changed, 11 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index e599e7a39c..dd5a887001 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -75,6 +75,7 @@ config SANDBOX select DM_GPIO select DM_MMC select HAVE_BLOCK_DEVICE + select SPI select LZO imply CMD_GETTIME imply CMD_HASH diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c930fa2846..6f06f2cc93 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -379,6 +379,7 @@ config ARCH_MVEBU select DM_SERIAL select DM_SPI select DM_SPI_FLASH + select SPI config TARGET_DEVKIT3250 bool "Support devkit3250" @@ -434,6 +435,7 @@ config TARGET_STV0991 select DM_SERIAL select DM_SPI select DM_SPI_FLASH + select SPI select SPI_FLASH select PL01X_SERIAL @@ -540,6 +542,7 @@ config ARCH_EXYNOS select DM_SPI select DM_GPIO select DM_KEYBOARD + select SPI imply FAT_WRITE config ARCH_S5PC1XX @@ -760,6 +763,7 @@ config ARCH_ZYNQ select CLK select SPL_CLK if SPL select CLK_ZYNQ + select SPI imply CMD_CLK imply FAT_WRITE imply CMD_SPL @@ -1177,6 +1181,7 @@ config ARCH_ROCKCHIP select DM_PWM select DM_REGULATOR select ENABLE_ARM_SOC_BOOT0_HOOK + select SPI imply CMD_FASTBOOT imply FASTBOOT imply FAT_WRITE diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 3621dfa760..1a6ed211e5 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/mach-at91/Kconfig @@ -88,6 +88,7 @@ config TARGET_GURNARD select DM_SPI select DM_GPIO select DM_ETH + select SPI config TARGET_AT91SAM9261EK bool "Atmel at91sam9261 reference board" @@ -202,6 +203,7 @@ config TARGET_MA5D4EVK select SUPPORT_SPL select DM select DM_SPI + select SPI config TARGET_MEESC bool "Support meesc" @@ -225,6 +227,7 @@ config TARGET_TAURUS select DM_SPI select DM_GPIO select DM_ETH + select SPI config TARGET_SMARTWEB bool "Support smartweb" @@ -241,6 +244,7 @@ config TARGET_VINCO select SUPPORT_SPL select DM select DM_SPI + select SPI config TARGET_WB45N bool "Support Laird WB45N" diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index fd0082d22a..5fa3e6b6ad 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -35,6 +35,7 @@ config TEGRA_COMMON select DM_SPI select DM_SPI_FLASH select MISC + select SPI select OF_CONTROL select VIDCONSOLE_AS_LCD if DM_VIDEO select BOARD_EARLY_INIT_F |