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

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

diff --git a/README b/README
index 99c10c2..34d1860 100644 (file)
--- a/README
+++ b/README
@@ -841,7 +841,6 @@ The following options need to be configured:
                                          that work for multiple fs types
                CONFIG_CMD_FS_UUID      * Look up a filesystem UUID
                CONFIG_CMD_SAVEENV        saveenv
-               CONFIG_CMD_FDC          * Floppy Disk Support
                CONFIG_CMD_FAT          * FAT command support
                CONFIG_CMD_FLASH          flinfo, erase, protect
                CONFIG_CMD_FPGA           FPGA device initialization support
index cc959f6..99082c1 100644 (file)
@@ -604,6 +604,11 @@ config CMD_GPIO
        help
          GPIO support.
 
+config CMD_FDC
+       bool "fdcboot - Boot from floppy device"
+       help
+         The 'fdtboot' command allows booting an image from a floppy disk.
+
 endmenu
 
 
index bd421ea..e366ac1 100644 (file)
@@ -14,6 +14,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_EEPROM=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
+CONFIG_CMD_FDC=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
index a824204..9b3d88a 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_FDC         /* Floppy Disk Support          */
 #define CONFIG_CMD_FUSE                /* Device fuse support          */
 #define CONFIG_CMD_GETTIME     /* Get time since boot         */
 #define CONFIG_CMD_HASH                /* calculate hash / digest      */
index 84b1a73..eb1f0e2 100644 (file)
@@ -41,7 +41,6 @@
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_FDC
 #define CONFIG_SCSI
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_SAVES
index 6887a0e..59981c3 100644 (file)
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_FDC
 CONFIG_CMD_FDT_MAX_DUMP
 CONFIG_CMD_FPGAD
 CONFIG_CMD_FPGA_LOADBP