[U-Boot] [PATCH 03/41] Convert CONFIG_CMD_MFSL to Kconfig
Simon Glass
sjg at chromium.org
Fri Jul 21 23:11:02 UTC 2017
This converts the following to Kconfig:
CONFIG_CMD_MFSL
Signed-off-by: Simon Glass <sjg at chromium.org>
---
README | 1 -
cmd/Kconfig | 7 +++++++
configs/microblaze-generic_defconfig | 1 +
include/config_cmd_all.h | 1 -
include/configs/microblaze-generic.h | 1 -
scripts/config_whitelist.txt | 1 -
6 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/README b/README
index 023409b14c..aea19a257f 100644
--- a/README
+++ b/README
@@ -838,7 +838,6 @@ The following options need to be configured:
CONFIG_CMD_TIMER * access to the system tick timer
CONFIG_CMD_USB * USB support
CONFIG_CMD_CDP * Cisco Discover Protocol support
- CONFIG_CMD_MFSL * Microblaze FSL support
CONFIG_CMD_XIMG Load part of Multi Image
CONFIG_CMD_UUID * Generate random UUID or GUID string
diff --git a/cmd/Kconfig b/cmd/Kconfig
index c80ac364ea..a0155b9735 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -747,6 +747,13 @@ config CMD_SATA
Attachment, where AT refers to an IBM AT (Advanced Technology)
computer released in 1984.
+config CMD_MFSL
+ bool "frd/fwr/rspr - Access special-purpose registers and SPL"
+ depends on MICROBLAZE
+ help
+ Provides access to Microblaze special purpose register amd FSL,
+ whatever that is.
+
endmenu
diff --git a/configs/microblaze-generic_defconfig b/configs/microblaze-generic_defconfig
index 4a137007bf..f79907ba14 100644
--- a/configs/microblaze-generic_defconfig
+++ b/configs/microblaze-generic_defconfig
@@ -23,6 +23,7 @@ CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="U-Boot-mONStR> "
CONFIG_CMD_ASKENV=y
CONFIG_CMD_GPIO=y
+CONFIG_CMD_MFSL=y
# CONFIG_CMD_SETEXPR is not set
CONFIG_CMD_TFTPPUT=y
CONFIG_CMD_DHCP=y
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 2874a7850d..9106bf5e88 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_MFSL /* FSL support for Microblaze */
#define CONFIG_CMD_MTDPARTS /* mtd parts support */
#define CONFIG_CMD_NAND /* NAND support */
#define CONFIG_CMD_ONENAND /* OneNAND support */
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index cc7f81955e..659f32e030 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -168,7 +168,6 @@
/*
* Command line configuration.
*/
-#define CONFIG_CMD_MFSL
#if defined(FLASH)
# undef CONFIG_CMD_UBIFS
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 1469a3c1fb..3fd2b5f6ab 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_MFSL
CONFIG_CMD_MMC_SPI
CONFIG_CMD_MTDPARTS_SPREAD
CONFIG_CMD_ONENAND
--
2.14.0.rc0.284.gd933b75aa4-goog
More information about the U-Boot
mailing list