[U-Boot] [PATCH v2 39/48] Convert CONFIG_CMD_IOLOOP to Kconfig

Simon Glass sjg at chromium.org
Tue May 16 23:38:59 UTC 2017


This converts the following to Kconfig:
   CONFIG_CMD_IOLOOP

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 board/gdsys/mpc8308/Kconfig      | 5 +++++
 configs/hrcon_defconfig          | 1 +
 configs/hrcon_dh_defconfig       | 1 +
 configs/strider_con_defconfig    | 1 +
 configs/strider_con_dp_defconfig | 1 +
 configs/strider_cpu_defconfig    | 1 +
 configs/strider_cpu_dp_defconfig | 1 +
 include/configs/hrcon.h          | 2 --
 include/configs/strider.h        | 2 --
 scripts/config_whitelist.txt     | 1 -
 10 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/board/gdsys/mpc8308/Kconfig b/board/gdsys/mpc8308/Kconfig
index 9a1a3a2f28..cb29c25c65 100644
--- a/board/gdsys/mpc8308/Kconfig
+++ b/board/gdsys/mpc8308/Kconfig
@@ -23,3 +23,8 @@ config SYS_CONFIG_NAME
 	default "strider"
 
 endif
+
+config CMD_IOLOOP
+	bool "Enable 'ioloop' and 'ioreflect' commands"
+	help
+	  These commands provide FPGA tests.
diff --git a/configs/hrcon_defconfig b/configs/hrcon_defconfig
index cf89ebe145..aea06769f4 100644
--- a/configs/hrcon_defconfig
+++ b/configs/hrcon_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" hrcon 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_HRCON=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/configs/hrcon_dh_defconfig b/configs/hrcon_dh_defconfig
index c5512e71c4..8e911d49a0 100644
--- a/configs/hrcon_dh_defconfig
+++ b/configs/hrcon_dh_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" hrcon dh 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_HRCON=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/configs/strider_con_defconfig b/configs/strider_con_defconfig
index 099d40714f..d293d39d7b 100644
--- a/configs/strider_con_defconfig
+++ b/configs/strider_con_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" strider con 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_STRIDER=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/configs/strider_con_dp_defconfig b/configs/strider_con_dp_defconfig
index 754db3d2d8..e0040e9e38 100644
--- a/configs/strider_con_dp_defconfig
+++ b/configs/strider_con_dp_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" strider con dp 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_STRIDER=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/configs/strider_cpu_defconfig b/configs/strider_cpu_defconfig
index 692e883e75..7d372ffac7 100644
--- a/configs/strider_cpu_defconfig
+++ b/configs/strider_cpu_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" strider cpu 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_STRIDER=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/configs/strider_cpu_dp_defconfig b/configs/strider_cpu_dp_defconfig
index 18e33a2e6b..5d304b3f8b 100644
--- a/configs/strider_cpu_dp_defconfig
+++ b/configs/strider_cpu_dp_defconfig
@@ -2,6 +2,7 @@ CONFIG_PPC=y
 CONFIG_IDENT_STRING=" strider cpu dp 0.01"
 CONFIG_MPC83xx=y
 CONFIG_TARGET_STRIDER=y
+CONFIG_CMD_IOLOOP=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
diff --git a/include/configs/hrcon.h b/include/configs/hrcon.h
index cfebd2d26e..405129b7e2 100644
--- a/include/configs/hrcon.h
+++ b/include/configs/hrcon.h
@@ -26,8 +26,6 @@
 #define CONFIG_FSL_ESDHC
 #define CONFIG_SYS_FSL_ESDHC_ADDR	CONFIG_SYS_MPC83xx_ESDHC_ADDR
 
-#define CONFIG_CMD_IOLOOP
-
 /*
  * System Clock Setup
  */
diff --git a/include/configs/strider.h b/include/configs/strider.h
index 539557d972..994ac73e13 100644
--- a/include/configs/strider.h
+++ b/include/configs/strider.h
@@ -28,8 +28,6 @@
 
 #define CONFIG_SYS_ALT_MEMTEST
 
-#define CONFIG_CMD_IOLOOP
-
 /*
  * System Clock Setup
  */
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index d81f87c990..0d7e130a80 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -384,7 +384,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IOLOOP
 CONFIG_CMD_IOTRACE
 CONFIG_CMD_IRQ
 CONFIG_CMD_JFFS2
-- 
2.13.0.303.g4ebf302169-goog



More information about the U-Boot mailing list