]> git.sur5r.net Git - u-boot/commitdiff
Convert CONFIG_CMD_IO to Kconfig
authorSimon Glass <sjg@chromium.org>
Wed, 17 May 2017 09:25:34 +0000 (03:25 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 22 May 2017 16:45:29 +0000 (12:45 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_IO

Signed-off-by: Simon Glass <sjg@chromium.org>
README
arch/Kconfig
cmd/Kconfig
include/config_cmd_all.h
include/configs/sandbox.h
include/configs/x86-common.h
scripts/config_whitelist.txt

diff --git a/README b/README
index b44c9aeed2e1bfe1c4c346d839d7ffa15fbda2a8..cb8a02fac82774416785943d2abbfda061748ffc 100644 (file)
--- a/README
+++ b/README
@@ -850,7 +850,6 @@ The following options need to be configured:
                CONFIG_CMD_IMI            iminfo
                CONFIG_CMD_IMLS           List all images found in NOR flash
                CONFIG_CMD_IMLS_NAND    * List all images found in NAND flash
-               CONFIG_CMD_IOTRACE      * I/O tracing for debugging
                CONFIG_CMD_IMPORTENV    * import an environment
                CONFIG_CMD_INI          * import data from an ini file into the env
                CONFIG_CMD_IRQ          * irqinfo
index ed6b6a0a85a4c56365835be05097312aa4fb054e..a8a13b79f4ca0b56ba50f4d4e3aa69a6176b6c84 100644 (file)
@@ -69,6 +69,7 @@ config SANDBOX
        select DM_GPIO
        select DM_MMC
        imply CMD_HASH
+       imply CMD_IO
 
 config SH
        bool "SuperH architecture"
@@ -89,6 +90,7 @@ config X86
        select DM_MMC if MMC
        imply CMD_FPGA_LOADMK
        imply CMD_GETTIME
+       imply CMD_IO
 
 config XTENSA
        bool "Xtensa architecture"
index 1268e38b599c363e9178cb01f2e688b816d10656..0f54ae35f9ff81be3d2ae658b32feb942e8bbf68 100644 (file)
@@ -493,6 +493,14 @@ config CMD_IDE
          geting device info. It also enables the 'diskboot' command which
          permits booting from an IDE drive.
 
+config CMD_IO
+       bool "io - Support for performing I/O accesses"
+       help
+         Provides an 'iod' command to display I/O space and an 'iow' command
+         to write values to the I/O space. This can be useful for manually
+         checking the state of devices during boot when debugging device
+         drivers, etc.
+
 config CMD_LOADB
        bool "loadb"
        default y
index 8ab46ca47e8625ce9001e01767922fb0eb22dd4d..27fcc5e28de6063f87e781ef96aa55901552e7cc 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_IO          /* Access to X86 IO space       */
 #define CONFIG_CMD_IRQ         /* irqinfo                      */
 #define CONFIG_CMD_JFFS2       /* JFFS2 Support                */
 #define CONFIG_CMD_KGDB                /* kgdb                         */
index 7f51195bb28eaf14af5cdbbfe320b6f866d53c01..be05843de1601afd14bc8c10bfd4b4f10a2631e9 100644 (file)
@@ -29,7 +29,6 @@
 #define CONFIG_ANDROID_BOOT_IMAGE
 
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IO
 
 #define CONFIG_FS_FAT
 #define CONFIG_FAT_WRITE
index e9d5f3d05385849ca5b98cea2e8cd71904d781fb..d8b3f1ad677fab434c0924422532a99aa721ae3c 100644 (file)
@@ -70,7 +70,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_IO
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_SCSI
index 9590b25b9a72c761ac3db6f52838108f7f4e2310..913cad888e28a6e23fa0e8a302247944e377a3b2 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IO
 CONFIG_CMD_IOLOOP
 CONFIG_CMD_IOTRACE
 CONFIG_CMD_IRQ