Convert CONFIG_CMD_GSC to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:24 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 13:33:58 +0000 (09:33 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_GSC

Signed-off-by: Simon Glass <sjg@chromium.org>
board/gateworks/gw_ventana/Kconfig
configs/gwventana_emmc_defconfig
configs/gwventana_gw5904_defconfig
configs/gwventana_nand_defconfig
include/configs/gw_ventana.h
include/configs/pcm058.h
scripts/config_whitelist.txt

index c5779846da379f53ff027a3984fa35b1edd10144..5d1bae41ac565cd9439913313586ec40c2d30e13 100644 (file)
@@ -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
index 5629dc63f7d77884732d9a10e43d3211fff7bfe4..f665cca7b8a8d5f645e5d2812eacd3289f6cc26f 100644 (file)
@@ -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
index 49566ce437df5ace066328012c6cbee822756866..c94bedf060949e1efb991d82fbdc4d9a3e046501 100644 (file)
@@ -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
index 982a62e7286d78c215231079cddb728f6e41e674..c362be92e15436b3e84408676b148e7c32511dab 100644 (file)
@@ -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
index 0fcbdf9767784e851b198d52825e5607b4cc8bdd..68e69b8a59054c4592ce157ddad0ec058d7fb694 100644 (file)
 
 /* Various command support */
 #define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
-#define CONFIG_CMD_GSC
 #define CONFIG_CMD_UNZIP         /* gzwrite */
 #define CONFIG_RBTREE
 
index 041d84018fdfa67f905cb63afd49ef13a4afb973..44b4ffdf99d14a20431cfec21c6ffd186da4f742 100644 (file)
@@ -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 */
index 129d9a4042bb92c71d17ac6c4253a3f404a62359..c26c6b850a90399436c2f556fcb6363803073e44 100644 (file)
@@ -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