From: Simon Glass <sjg@chromium.org>
Date: Fri, 4 Aug 2017 22:35:00 +0000 (-0600)
Subject: Convert CONFIG_CMD_TSI148 to Kconfig
X-Git-Tag: v2025.01-rc5-pxa1908~6090
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20.RelPermalink%20%7D%7D?a=commitdiff_plain;h=5605aa8ab660655041837dff9dd9ff6fdae385ba;p=u-boot.git

Convert CONFIG_CMD_TSI148 to Kconfig

This converts the following to Kconfig:
   CONFIG_CMD_TSI148

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>
---

diff --git a/cmd/Kconfig b/cmd/Kconfig
index bb1980ddb3..1ab1cf7fb7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -857,6 +857,12 @@ config CMD_SPI
 	help
 	  SPI utility command.
 
+config CMD_TSI148
+	bool "tsi148 - Command to access tsi148 device"
+	help
+	  This provides various sub-commands to initialise and configure the
+	  Turndra tsi148 device. See the command help for full details.
+
 config CMD_USB
 	bool "usb"
 	help
diff --git a/configs/caddy2_defconfig b/configs/caddy2_defconfig
index 762a2c0a08..3bdcb8d776 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_defconfig
@@ -9,6 +9,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/configs/vme8349_defconfig b/configs/vme8349_defconfig
index 82ba7ab62e..cc782bf860 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -8,6 +8,7 @@ CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_PCI=y
+CONFIG_CMD_TSI148=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
diff --git a/include/configs/vme8349.h b/include/configs/vme8349.h
index 8e9abb264c..0aafbe261f 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -343,7 +343,6 @@
 #define CONFIG_SYS_RTC_BUS_NUM  0x01
 #define CONFIG_SYS_I2C_RTC_ADDR	0x32
 #define CONFIG_RTC_RX8025
-#define CONFIG_CMD_TSI148
 
 /* Pass Ethernet MAC to VxWorks */
 #define CONFIG_SYS_VXWORKS_MAC_PTR	0x000043f0
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index a865bfecf5..b8f5535285 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_TSI148
 CONFIG_CMD_UNIVERSE
 CONFIG_CMD_UUID
 CONFIG_CMD_ZBOOT