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 bb1980d..1ab1cf7 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -857,6 +857,12 @@
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 762a2c0..3bdcb8d 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_defconfig
@@ -9,6 +9,7 @@
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 82ba7ab..cc782bf 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -8,6 +8,7 @@
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 8e9abb2..0aafbe2 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 a865bfe..b8f5535 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -293,7 +293,6 @@
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_TSI148
CONFIG_CMD_UNIVERSE
CONFIG_CMD_UUID
CONFIG_CMD_ZBOOT