summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-05-17 03:25:18 -0600
committerTom Rini <trini@konsulko.com>2017-05-22 09:33:56 -0400
commitb0e7a70a0594c3545a5da3e1a456362be1c27705 (patch)
tree73db309d7b6d8b9373b3efbb74b19f957b3161b5
parentef072200fa64ab0ca17fd6369fcfb95585afe8da (diff)
downloadu-boot-b0e7a70a0594c3545a5da3e1a456362be1c27705.tar.gz
Convert CONFIG_CMD_FDC to Kconfig
This converts the following to Kconfig: CONFIG_CMD_FDC Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--README1
-rw-r--r--cmd/Kconfig5
-rw-r--r--configs/PIP405_defconfig1
-rw-r--r--include/config_cmd_all.h1
-rw-r--r--include/configs/PIP405.h1
-rw-r--r--scripts/config_whitelist.txt1
6 files changed, 6 insertions, 4 deletions
diff --git a/README b/README
index 99c10c2f47..34d1860410 100644
--- 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
diff --git a/cmd/Kconfig b/cmd/Kconfig
index cc959f6a4a..99082c14f2 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -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
diff --git a/configs/PIP405_defconfig b/configs/PIP405_defconfig
index bd421eab9c..e366ac1355 100644
--- a/configs/PIP405_defconfig
+++ b/configs/PIP405_defconfig
@@ -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
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index a824204913..9b3d88a1f8 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -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 */
diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h
index 84b1a73033..eb1f0e26c5 100644
--- a/include/configs/PIP405.h
+++ b/include/configs/PIP405.h
@@ -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
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 6887a0e4af..59981c31e7 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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