Convert CONFIG_CMD_PCMCIA to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:37 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 19:41:52 +0000 (15:41 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_PCMCIA

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
README
cmd/Kconfig
configs/ms7720se_defconfig
include/config_cmd_all.h
include/configs/dbau1x00.h
include/configs/ms7720se.h
scripts/config_whitelist.txt

diff --git a/README b/README
index 56fc476..17c055a 100644 (file)
--- a/README
+++ b/README
@@ -812,7 +812,6 @@ The following options need to be configured:
                CONFIG_CMD_MII          * MII utility commands
                CONFIG_CMD_NET            bootp, tftpboot, rarpboot
                CONFIG_CMD_NFS            NFS support
-               CONFIG_CMD_PCMCIA               * PCMCIA support
                CONFIG_CMD_PING         * send ICMP ECHO_REQUEST to network
                                          host
                CONFIG_CMD_PORTIO       * Port I/O
index 8fab42d..ef614a6 100644 (file)
@@ -741,6 +741,14 @@ config CMD_PCI
          peripherals. Sub-commands allow bus enumeration, displaying and
          changing configuration space and a few other features.
 
+config CMD_PCMCIA
+       bool "pinit - Set up PCMCIA device"
+       help
+         Provides a means to initialise a PCMCIA (Personal Computer Memory
+         Card International Association) device. This is an old standard from
+         about 1990. These devices are typically removable memory or network
+         cards using a standard 68-pin connector.
+
 config CMD_REMOTEPROC
        bool "remoteproc"
        depends on REMOTEPROC
index 7f137fa..a9e3f45 100644 (file)
@@ -15,6 +15,7 @@ CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
+CONFIG_CMD_PCMCIA=y
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
 # CONFIG_CMD_SOURCE is not set
index b1f6990..a008bac 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_PCMCIA      /* PCMCIA support               */
 #define CONFIG_CMD_PORTIO      /* Port I/O                     */
 #define CONFIG_CMD_REGINFO     /* Register dump                */
 #define CONFIG_CMD_REISER      /* Reiserfs support             */
index 970e214..cd65cea 100644 (file)
  * Command line configuration.
  */
 
-#ifdef CONFIG_DBAU1550
-
-#undef CONFIG_CMD_PCMCIA
-#endif
-
 /*
  * Miscellaneous configurable options
  */
index 86b93a3..112145c 100644 (file)
@@ -13,7 +13,6 @@
 #define CONFIG_MS7720SE                1
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_PCMCIA
 
 #define CONFIG_BOOTARGS                "console=ttySC0,115200"
 #define CONFIG_BOOTFILE                "/boot/zImage"
index b2f50c0..358b17c 100644 (file)
@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_PCMCIA
 CONFIG_CMD_PORTIO
 CONFIG_CMD_READ
 CONFIG_CMD_REGINFO