diff mbox

[U-Boot,v3,28/48] Convert CONFIG_CMD_GSC to Kconfig

Message ID 20170517092544.19357-29-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass May 17, 2017, 9:25 a.m. UTC
This converts the following to Kconfig:
   CONFIG_CMD_GSC

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

Changes in v3: None
Changes in v2: None

 board/gateworks/gw_ventana/Kconfig | 8 ++++++++
 configs/gwventana_emmc_defconfig   | 1 +
 configs/gwventana_gw5904_defconfig | 1 +
 configs/gwventana_nand_defconfig   | 1 +
 include/configs/gw_ventana.h       | 1 -
 include/configs/pcm058.h           | 1 -
 scripts/config_whitelist.txt       | 1 -
 7 files changed, 11 insertions(+), 3 deletions(-)

Comments

Tom Rini May 22, 2017, 6:03 p.m. UTC | #1
On Wed, May 17, 2017 at 03:25:24AM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>    CONFIG_CMD_GSC
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/board/gateworks/gw_ventana/Kconfig b/board/gateworks/gw_ventana/Kconfig
index c5779846da..5d1bae41ac 100644
--- a/board/gateworks/gw_ventana/Kconfig
+++ b/board/gateworks/gw_ventana/Kconfig
@@ -14,4 +14,12 @@  config CMD_EECONFIG
 	help
 	  Provides access to EEPROM configuration on Gateworks Ventana
 
+config CMD_GSC
+	bool "Enable the 'gsc' command"
+	help
+	  Provides access to the GSC configuration:
+
+	     gsc sleep - sleeps for a period of seconds
+	     gsc wd - enables / disables the watchdog
+
 endif
diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig
index 289134e854..12de448115 100644
--- a/configs/gwventana_emmc_defconfig
+++ b/configs/gwventana_emmc_defconfig
@@ -5,6 +5,7 @@  CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig
index 5e5f1f6d37..6d8cd6030c 100644
--- a/configs/gwventana_gw5904_defconfig
+++ b/configs/gwventana_gw5904_defconfig
@@ -5,6 +5,7 @@  CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig
index eedccfc999..62b9b575ca 100644
--- a/configs/gwventana_nand_defconfig
+++ b/configs/gwventana_nand_defconfig
@@ -5,6 +5,7 @@  CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_TARGET_GW_VENTANA=y
 CONFIG_CMD_EECONFIG=y
+CONFIG_CMD_GSC=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_NAND_SUPPORT=y
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index 661d8c38c8..4dcff0347f 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -142,7 +142,6 @@ 
 
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
-#define CONFIG_CMD_GSC
 #define CONFIG_CMD_UNZIP         /* gzwrite */
 #define CONFIG_RBTREE
 
diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h
index 041d84018f..44b4ffdf99 100644
--- a/include/configs/pcm058.h
+++ b/include/configs/pcm058.h
@@ -87,7 +87,6 @@ 
 
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
-#define CONFIG_CMD_GSC
 #define CONFIG_RBTREE
 
 /* Physical Memory Map */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 718a8ede2a..0a5cd1595f 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -383,7 +383,6 @@  CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_GSC
 CONFIG_CMD_HASH
 CONFIG_CMD_HD44760
 CONFIG_CMD_HD44780