[U-Boot] [PATCH 35/41] Convert CONFIG_CMD_TSI148 to Kconfig

Simon Glass sjg at chromium.org
Fri Jul 21 23:11:34 UTC 2017


This converts the following to Kconfig:
   CONFIG_CMD_TSI148

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 cmd/Kconfig                  | 6 ++++++
 configs/caddy2_defconfig     | 1 +
 configs/vme8349_defconfig    | 1 +
 include/configs/vme8349.h    | 1 -
 scripts/config_whitelist.txt | 1 -
 5 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 3973b9d2ea..f092447238 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -866,6 +866,12 @@ config CMD_SF_TEST
 	  equal the SPI bus speed for a single-bit-wide SPI bus, assuming
 	  everything is working properly.
 
+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.
+
 endmenu
 
 
diff --git a/configs/caddy2_defconfig b/configs/caddy2_defconfig
index fcc8333f72..32496e4d77 100644
--- a/configs/caddy2_defconfig
+++ b/configs/caddy2_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/configs/vme8349_defconfig b/configs/vme8349_defconfig
index e986fb1e0d..c550232918 100644
--- a/configs/vme8349_defconfig
+++ b/configs/vme8349_defconfig
@@ -7,6 +7,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 e32555ae85..9e2caab41b 100644
--- a/include/configs/vme8349.h
+++ b/include/configs/vme8349.h
@@ -345,7 +345,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 a78736106b..faa16f5404 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,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
-- 
2.14.0.rc0.284.gd933b75aa4-goog



More information about the U-Boot mailing list