Convert CONFIG_CMD_BEDBUG to Kconfig
authorSimon Glass <sjg@chromium.org>
Thu, 27 Apr 2017 04:27:52 +0000 (22:27 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 30 Apr 2017 14:30:02 +0000 (10:30 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_BEDBUG

Signed-off-by: Simon Glass <sjg@chromium.org>
README
cmd/Kconfig
configs/motionpro_defconfig
include/config_cmd_all.h
include/configs/dbau1x00.h
include/configs/motionpro.h
include/configs/pb1x00.h
include/configs/vct.h
scripts/config_whitelist.txt

diff --git a/README b/README
index f7ab78a..cec6851 100644 (file)
--- a/README
+++ b/README
@@ -823,7 +823,6 @@ The following options need to be configured:
                CONFIG_CMD_AES            AES 128 CBC encrypt/decrypt
                CONFIG_CMD_ASKENV       * ask for env variable
                CONFIG_CMD_BDI            bdinfo
-               CONFIG_CMD_BEDBUG       * Include BedBug Debugger
                CONFIG_CMD_BMP          * BMP support
                CONFIG_CMD_BSP          * Board specific commands
                CONFIG_CMD_BOOTD          bootd
index e52af92..0c6d44e 100644 (file)
@@ -867,6 +867,17 @@ config MTDPARTS_DEFAULT
 
 endmenu
 
+menu "Debug commands"
+
+config CMD_BEDBUG
+       bool "bedbug"
+       help
+         The bedbug (emBEDded deBUGger) command provides debugging features
+         for some PowerPC processors. For details please see the
+         docuemntation in doc/README.beddbug
+
+endmenu
+
 config CMD_UBI
        tristate "Enable UBI - Unsorted block images commands"
        select CRC32
index b770820..70c04c3 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_BEDBUG=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS0=y
 CONFIG_LED_STATUS_BIT=0
index a8befe3..825ccf7 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_BEDBUG      /* Include BedBug Debugger      */
 #define CONFIG_CMD_BMP         /* BMP support                  */
 #define CONFIG_CMD_BSP         /* Board Specific functions     */
 #define CONFIG_CMD_CLK         /* Clock support                */
index 0437296..e788f9c 100644 (file)
@@ -66,7 +66,6 @@
 /*
  * Command line configuration.
  */
-#undef CONFIG_CMD_BEDBUG
 
 #ifdef CONFIG_DBAU1550
 
index 7ebcd03..ec4f8f5 100644 (file)
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_BEDBUG
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
index 504ddf7..f6bd4fe 100644 (file)
  */
 
 #undef CONFIG_CMD_IDE
-#undef CONFIG_CMD_BEDBUG
 
 #endif /* __CONFIG_H */
index 99cb311..9db6fee 100644 (file)
@@ -255,7 +255,6 @@ int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_BEDBUG
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_EEPROM
 #undef CONFIG_CMD_IRQ
index caea65b..a58faf7 100644 (file)
@@ -393,7 +393,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_BEDBUG
 CONFIG_CMD_BLOB
 CONFIG_CMD_BMODE
 CONFIG_CMD_BMP