aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-04 16:34:54 -0600
committerTom Rini <trini@konsulko.com>2017-08-11 15:42:00 -0400
commit90d99e5936d4bcef31fd19a5339fbb1f1ca188a0 (patch)
tree035e9ecb34661052aaacef3d76f17cc3c590efe8
parent1c27a4c9494b28bbe018762e534b2291081745df (diff)
downloadu-boot-90d99e5936d4bcef31fd19a5339fbb1f1ca188a0.zip
u-boot-90d99e5936d4bcef31fd19a5339fbb1f1ca188a0.tar.gz
u-boot-90d99e5936d4bcef31fd19a5339fbb1f1ca188a0.tar.bz2
Convert CONFIG_CMD_TCA642X to Kconfig
This converts the following to Kconfig: CONFIG_CMD_TCA642X Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-rw-r--r--configs/omap5_uevm_defconfig1
-rw-r--r--drivers/gpio/Kconfig9
-rw-r--r--include/configs/omap5_uevm.h1
-rw-r--r--scripts/config_whitelist.txt1
4 files changed, 10 insertions, 2 deletions
diff --git a/configs/omap5_uevm_defconfig b/configs/omap5_uevm_defconfig
index c613433..273be58 100644
--- a/configs/omap5_uevm_defconfig
+++ b/configs/omap5_uevm_defconfig
@@ -36,6 +36,7 @@ CONFIG_CMD_FS_GENERIC=y
CONFIG_ISO_PARTITION=y
CONFIG_DFU_MMC=y
CONFIG_DFU_RAM=y
+CONFIG_CMD_TCA642X=y
CONFIG_MMC_OMAP_HS=y
CONFIG_SCSI=y
CONFIG_SYS_NS16550=y
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index d2e7c29..ffeda94 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -165,6 +165,15 @@ config SANDBOX_GPIO_COUNT
of 'anonymous' GPIOs that do not belong to any device or bank.
Select a suitable value depending on your needs.
+config CMD_TCA642X
+ bool "tca642x - Command to access tca642x state"
+ help
+ DEPRECATED - This needs conversion to driver model
+
+ This provides a way to looking at the pin state of this device.
+ This mirrors the 'gpio' command and that should be used in preference
+ to custom code.
+
config TEGRA_GPIO
bool "Tegra20..210 GPIO driver"
depends on DM_GPIO
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index 9b65009..7e2a011 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -46,7 +46,6 @@
/* Required support for the TCA642X GPIO we have on the uEVM */
#define CONFIG_TCA642X
-#define CONFIG_CMD_TCA642X
#define CONFIG_SYS_I2C_TCA642X_BUS_NUM 4
#define CONFIG_SYS_I2C_TCA642X_ADDR 0x22
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index ebe2daeb..aea6ea7 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_TCA642X
CONFIG_CMD_TERMINAL
CONFIG_CMD_TFTP
CONFIG_CMD_THOR_DOWNLOAD