[U-Boot] [PATCH v2 36/42] Convert CONFIG_CMD_TSI148 to Kconfig
Simon Glass
sjg at chromium.org
Fri Aug 4 22:35:00 UTC 2017
This converts the following to Kconfig:
CONFIG_CMD_TSI148
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
---
Changes in v2:
- Sort Kconfig options in alphabetical order
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 425d1d1351..7934753232 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -848,6 +848,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 27d6c6bee0..e1e2f53a43 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 58f8bc4e87..42eb367aa3 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.rc1.383.gd1ce394fe2-goog
More information about the U-Boot
mailing list