From 5605aa8ab660655041837dff9dd9ff6fdae385ba Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 4 Aug 2017 16:35:00 -0600 Subject: [PATCH] Convert CONFIG_CMD_TSI148 to Kconfig This converts the following to Kconfig: CONFIG_CMD_TSI148 Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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 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 -- 2.25.1