diff mbox

[U-Boot,v3,43/48] Convert CONFIG_CMD_IRQ to Kconfig

Message ID 20170517092544.19357-44-sjg@chromium.org
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Simon Glass May 17, 2017, 9:25 a.m. UTC
This converts the following to Kconfig:
   CONFIG_CMD_IRQ

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
---

Changes in v3: None
Changes in v2:
- Add depends on !ARM && !MIPS && !SH
- Enable for all PPC boards, and explicitly disable those that don't want it
- Enable for microblaze

 README                               | 1 -
 arch/Kconfig                         | 3 +++
 cmd/Kconfig                          | 8 ++++++++
 configs/TQM823L_LCD_defconfig        | 1 +
 configs/TQM823L_defconfig            | 1 +
 configs/TQM823M_defconfig            | 1 +
 configs/TQM850L_defconfig            | 1 +
 configs/TQM850M_defconfig            | 1 +
 configs/TQM855L_defconfig            | 1 +
 configs/TQM855M_defconfig            | 1 +
 configs/TQM860L_defconfig            | 1 +
 configs/TQM860M_defconfig            | 1 +
 configs/TQM862L_defconfig            | 1 +
 configs/TQM862M_defconfig            | 1 +
 configs/TQM866M_defconfig            | 1 +
 configs/TQM885D_defconfig            | 1 +
 configs/TTTech_defconfig             | 1 +
 configs/ac14xx_defconfig             | 1 +
 configs/aria_defconfig               | 1 +
 configs/mecp5123_defconfig           | 1 +
 configs/mpc5121ads_defconfig         | 1 +
 configs/mpc5121ads_rev2_defconfig    | 1 +
 configs/pdm360ng_defconfig           | 1 +
 configs/wtk_defconfig                | 1 +
 include/config_cmd_all.h             | 1 -
 include/configs/B4860QDS.h           | 1 -
 include/configs/BSC9131RDB.h         | 1 -
 include/configs/BSC9132QDS.h         | 1 -
 include/configs/C29XPCIE.h           | 1 -
 include/configs/CPCI2DP.h            | 1 -
 include/configs/CPCI4052.h           | 1 -
 include/configs/MIP405.h             | 1 -
 include/configs/MPC8349ITX.h         | 1 -
 include/configs/MPC8536DS.h          | 2 --
 include/configs/MPC8540ADS.h         | 1 -
 include/configs/MPC8541CDS.h         | 1 -
 include/configs/MPC8544DS.h          | 1 -
 include/configs/MPC8548CDS.h         | 1 -
 include/configs/MPC8555CDS.h         | 1 -
 include/configs/MPC8560ADS.h         | 1 -
 include/configs/MPC8568MDS.h         | 1 -
 include/configs/MPC8569MDS.h         | 1 -
 include/configs/MPC8572DS.h          | 1 -
 include/configs/P1010RDB.h           | 1 -
 include/configs/P1022DS.h            | 1 -
 include/configs/P1023RDB.h           | 1 -
 include/configs/P2041RDB.h           | 1 -
 include/configs/PATI.h               | 1 -
 include/configs/PIP405.h             | 1 -
 include/configs/PLU405.h             | 1 -
 include/configs/PMC405DE.h           | 1 -
 include/configs/T102xQDS.h           | 1 -
 include/configs/T102xRDB.h           | 1 -
 include/configs/T1040QDS.h           | 1 -
 include/configs/T104xRDB.h           | 1 -
 include/configs/T208xQDS.h           | 1 -
 include/configs/T4240RDB.h           | 1 -
 include/configs/UCP1020.h            | 2 --
 include/configs/VOM405.h             | 1 -
 include/configs/amcc-common.h        | 1 -
 include/configs/controlcenterd.h     | 1 -
 include/configs/corenet_ds.h         | 1 -
 include/configs/cyrus.h              | 1 -
 include/configs/digsy_mtc.h          | 1 -
 include/configs/dlvision-10g.h       | 1 -
 include/configs/dlvision.h           | 1 -
 include/configs/io.h                 | 1 -
 include/configs/iocon.h              | 1 -
 include/configs/ipek01.h             | 1 -
 include/configs/lwmon5.h             | 1 -
 include/configs/microblaze-generic.h | 1 -
 include/configs/neo.h                | 1 -
 include/configs/p1_p2_rdb_pc.h       | 1 -
 include/configs/p1_twr.h             | 1 -
 include/configs/qemu-ppce500.h       | 1 -
 include/configs/t4qds.h              | 1 -
 include/configs/v38b.h               | 1 -
 include/configs/vct.h                | 1 -
 include/configs/x86-common.h         | 1 -
 include/configs/xilinx-ppc.h         | 1 -
 include/configs/xpedite1000.h        | 1 -
 include/configs/xpedite517x.h        | 1 -
 scripts/config_whitelist.txt         | 1 -
 83 files changed, 32 insertions(+), 62 deletions(-)

Comments

Tom Rini May 22, 2017, 6:06 p.m. UTC | #1
On Wed, May 17, 2017 at 03:25:39AM -0600, Simon Glass wrote:

> This converts the following to Kconfig:
>    CONFIG_CMD_IRQ
> 
> Signed-off-by: Simon Glass <sjg@chromium.org>
> Reviewed-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/README b/README
index c493d72fad..8ced3abda2 100644
--- a/README
+++ b/README
@@ -852,7 +852,6 @@  The following options need to be configured:
 		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
 		CONFIG_CMD_IMPORTENV	* import an environment
 		CONFIG_CMD_INI		* import data from an ini file into the env
-		CONFIG_CMD_IRQ		* irqinfo
 		CONFIG_CMD_ITEST	  Integer/string test of 2 values
 		CONFIG_CMD_KGDB		* kgdb
 		CONFIG_CMD_LDRINFO	* ldrinfo (display Blackfin loader)
diff --git a/arch/Kconfig b/arch/Kconfig
index 2b194b3049..069f0f5f2c 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -34,6 +34,7 @@  config M68K
 config MICROBLAZE
 	bool "MicroBlaze architecture"
 	select SUPPORT_OF_CONTROL
+	imply CMD_IRQ
 
 config MIPS
 	bool "MIPS architecture"
@@ -55,6 +56,7 @@  config PPC
 	bool "PowerPC architecture"
 	select HAVE_PRIVATE_LIBGCC
 	select SUPPORT_OF_CONTROL
+	imply CMD_IRQ
 
 config SANDBOX
 	bool "Sandbox"
@@ -91,6 +93,7 @@  config X86
 	imply CMD_FPGA_LOADMK
 	imply CMD_GETTIME
 	imply CMD_IO
+	imply CMD_IRQ
 
 config XTENSA
 	bool "Xtensa architecture"
diff --git a/cmd/Kconfig b/cmd/Kconfig
index be6b314c26..d875f9cf36 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1192,6 +1192,14 @@  config CMD_DIAG
 	  available tests and running either all the tests, or specific tests
 	  identified by name.
 
+config CMD_IRQ
+	bool "irq - Show information about interrupts"
+	depends on !ARM && !MIPS && !SH
+	help
+	  This enables two commands:
+
+	     interrupts - enable or disable interrupts
+	     irqinfo - print device-specific interrupt information
 endmenu
 
 config CMD_UBI
diff --git a/configs/TQM823L_LCD_defconfig b/configs/TQM823L_LCD_defconfig
index ccb68b24c5..5c3fc9b83d 100644
--- a/configs/TQM823L_LCD_defconfig
+++ b/configs/TQM823L_LCD_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/configs/TQM823L_defconfig b/configs/TQM823L_defconfig
index c588948e11..8c4c28ef54 100644
--- a/configs/TQM823L_defconfig
+++ b/configs/TQM823L_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM823M_defconfig b/configs/TQM823M_defconfig
index 0490828504..d1a3a15c99 100644
--- a/configs/TQM823M_defconfig
+++ b/configs/TQM823M_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM850L_defconfig b/configs/TQM850L_defconfig
index 0e42d8c4fe..e3026bd374 100644
--- a/configs/TQM850L_defconfig
+++ b/configs/TQM850L_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM850M_defconfig b/configs/TQM850M_defconfig
index a464fe507a..eda7e69fc9 100644
--- a/configs/TQM850M_defconfig
+++ b/configs/TQM850M_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM855L_defconfig b/configs/TQM855L_defconfig
index aa370012f5..203dd7cc27 100644
--- a/configs/TQM855L_defconfig
+++ b/configs/TQM855L_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM855M_defconfig b/configs/TQM855M_defconfig
index faab826a24..f787a2768f 100644
--- a/configs/TQM855M_defconfig
+++ b/configs/TQM855M_defconfig
@@ -13,6 +13,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM860L_defconfig b/configs/TQM860L_defconfig
index b18cf31ddd..fffdd08a3b 100644
--- a/configs/TQM860L_defconfig
+++ b/configs/TQM860L_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM860M_defconfig b/configs/TQM860M_defconfig
index fe2fe6d38c..6003b8842a 100644
--- a/configs/TQM860M_defconfig
+++ b/configs/TQM860M_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM862L_defconfig b/configs/TQM862L_defconfig
index 6f5f772d32..a2abe6e487 100644
--- a/configs/TQM862L_defconfig
+++ b/configs/TQM862L_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM862M_defconfig b/configs/TQM862M_defconfig
index 44307760ee..8cdeb0ec85 100644
--- a/configs/TQM862M_defconfig
+++ b/configs/TQM862M_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM866M_defconfig b/configs/TQM866M_defconfig
index d8922900d4..088cc3b33f 100644
--- a/configs/TQM866M_defconfig
+++ b/configs/TQM866M_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TQM885D_defconfig b/configs/TQM885D_defconfig
index 48421e3cfe..e4d98a3d36 100644
--- a/configs/TQM885D_defconfig
+++ b/configs/TQM885D_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
diff --git a/configs/TTTech_defconfig b/configs/TTTech_defconfig
index 9d26e94615..caaaa5bcae 100644
--- a/configs/TTTech_defconfig
+++ b/configs/TTTech_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/configs/ac14xx_defconfig b/configs/ac14xx_defconfig
index 6855331860..092c38ca36 100644
--- a/configs/ac14xx_defconfig
+++ b/configs/ac14xx_defconfig
@@ -10,6 +10,7 @@  CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
diff --git a/configs/aria_defconfig b/configs/aria_defconfig
index 0613dd16fb..39dc563a83 100644
--- a/configs/aria_defconfig
+++ b/configs/aria_defconfig
@@ -10,6 +10,7 @@  CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
diff --git a/configs/mecp5123_defconfig b/configs/mecp5123_defconfig
index 3937fe8b44..919c75080b 100644
--- a/configs/mecp5123_defconfig
+++ b/configs/mecp5123_defconfig
@@ -12,6 +12,7 @@  CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
diff --git a/configs/mpc5121ads_defconfig b/configs/mpc5121ads_defconfig
index 5bb78076ad..41bc5a4144 100644
--- a/configs/mpc5121ads_defconfig
+++ b/configs/mpc5121ads_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/configs/mpc5121ads_rev2_defconfig b/configs/mpc5121ads_rev2_defconfig
index e28fa19227..6af4d46d7c 100644
--- a/configs/mpc5121ads_rev2_defconfig
+++ b/configs/mpc5121ads_rev2_defconfig
@@ -16,6 +16,7 @@  CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/configs/pdm360ng_defconfig b/configs/pdm360ng_defconfig
index 4ef0df1aa8..1ed47d2da8 100644
--- a/configs/pdm360ng_defconfig
+++ b/configs/pdm360ng_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_BMP=y
+# CONFIG_CMD_IRQ is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
diff --git a/configs/wtk_defconfig b/configs/wtk_defconfig
index 2b81535c29..bea85df807 100644
--- a/configs/wtk_defconfig
+++ b/configs/wtk_defconfig
@@ -15,6 +15,7 @@  CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_JFFS2=y
+# CONFIG_CMD_IRQ is not set
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 34f9167cfe..df21c1a483 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_IRQ		/* irqinfo			*/
 #define CONFIG_CMD_KGDB		/* kgdb				*/
 #define CONFIG_CMD_MFSL		/* FSL support for Microblaze	*/
 #define CONFIG_CMD_MTDPARTS	/* mtd parts support		*/
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index 377b8998a4..6085724a65 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -702,7 +702,6 @@  unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/BSC9131RDB.h b/include/configs/BSC9131RDB.h
index 65d8f126b2..5e81d18e8e 100644
--- a/include/configs/BSC9131RDB.h
+++ b/include/configs/BSC9131RDB.h
@@ -293,7 +293,6 @@  extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h
index 59da85d0c9..9254442874 100644
--- a/include/configs/BSC9132QDS.h
+++ b/include/configs/BSC9132QDS.h
@@ -520,7 +520,6 @@  combinations. this should be removed later
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h
index eaa42545fc..f539cde5ba 100644
--- a/include/configs/C29XPCIE.h
+++ b/include/configs/C29XPCIE.h
@@ -436,7 +436,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /* Hash command with SHA acceleration supported in hardware */
diff --git a/include/configs/CPCI2DP.h b/include/configs/CPCI2DP.h
index 561ff894b3..6d2919ff55 100644
--- a/include/configs/CPCI2DP.h
+++ b/include/configs/CPCI2DP.h
@@ -46,7 +46,6 @@ 
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
diff --git a/include/configs/CPCI4052.h b/include/configs/CPCI4052.h
index c444198778..ab4b060906 100644
--- a/include/configs/CPCI4052.h
+++ b/include/configs/CPCI4052.h
@@ -61,7 +61,6 @@ 
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 
 #define CONFIG_SUPPORT_VFAT
 
diff --git a/include/configs/MIP405.h b/include/configs/MIP405.h
index efab6457b3..b13809f88a 100644
--- a/include/configs/MIP405.h
+++ b/include/configs/MIP405.h
@@ -46,7 +46,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SAVES
diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
index 7cf27fa96d..46f09d6b60 100644
--- a/include/configs/MPC8349ITX.h
+++ b/include/configs/MPC8349ITX.h
@@ -478,7 +478,6 @@  boards, we say we have two, but don't display a message if we find only one. */
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114) \
diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h
index 8375ead394..18b6b4e13e 100644
--- a/include/configs/MPC8536DS.h
+++ b/include/configs/MPC8536DS.h
@@ -589,8 +589,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index c5d581589a..0f96ac0242 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -315,7 +315,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #if defined(CONFIG_PCI)
     #define CONFIG_CMD_PCI
diff --git a/include/configs/MPC8541CDS.h b/include/configs/MPC8541CDS.h
index 4509a6d707..029aa572ce 100644
--- a/include/configs/MPC8541CDS.h
+++ b/include/configs/MPC8541CDS.h
@@ -342,7 +342,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8544DS.h b/include/configs/MPC8544DS.h
index b186e012d3..9b2f8364d5 100644
--- a/include/configs/MPC8544DS.h
+++ b/include/configs/MPC8544DS.h
@@ -348,7 +348,6 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8548CDS.h b/include/configs/MPC8548CDS.h
index df50fa3cce..43e05516ab 100644
--- a/include/configs/MPC8548CDS.h
+++ b/include/configs/MPC8548CDS.h
@@ -461,7 +461,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8555CDS.h b/include/configs/MPC8555CDS.h
index 67093dfa31..96a125c323 100644
--- a/include/configs/MPC8555CDS.h
+++ b/include/configs/MPC8555CDS.h
@@ -340,7 +340,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 8170b9f17d..8d026addb3 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -354,7 +354,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8568MDS.h b/include/configs/MPC8568MDS.h
index 0bc71d4ae6..618d5377fc 100644
--- a/include/configs/MPC8568MDS.h
+++ b/include/configs/MPC8568MDS.h
@@ -355,7 +355,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8569MDS.h b/include/configs/MPC8569MDS.h
index 81d2d4f931..eb7db20b7f 100644
--- a/include/configs/MPC8569MDS.h
+++ b/include/configs/MPC8569MDS.h
@@ -448,7 +448,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/MPC8572DS.h b/include/configs/MPC8572DS.h
index 59f1cc7c8d..79e11bb6f8 100644
--- a/include/configs/MPC8572DS.h
+++ b/include/configs/MPC8572DS.h
@@ -547,7 +547,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h
index 9c12c5d21a..0333ff9e08 100644
--- a/include/configs/P1010RDB.h
+++ b/include/configs/P1010RDB.h
@@ -724,7 +724,6 @@  extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #undef CONFIG_WATCHDOG			/* watchdog disabled */
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 2d1564a835..3d12c84ce9 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -593,7 +593,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/P1023RDB.h b/include/configs/P1023RDB.h
index 8821be3410..719043d5a1 100644
--- a/include/configs/P1023RDB.h
+++ b/include/configs/P1023RDB.h
@@ -241,7 +241,6 @@  extern unsigned long get_clock_freq(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
diff --git a/include/configs/P2041RDB.h b/include/configs/P2041RDB.h
index 92dcd2c418..17d8b228b4 100644
--- a/include/configs/P2041RDB.h
+++ b/include/configs/P2041RDB.h
@@ -580,7 +580,6 @@  unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
diff --git a/include/configs/PATI.h b/include/configs/PATI.h
index 1b2cb3dd22..1f26ac4c2d 100644
--- a/include/configs/PATI.h
+++ b/include/configs/PATI.h
@@ -38,7 +38,6 @@ 
  */
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_IRQ
 
 #define CONFIG_BOOTCOMMAND	""	/* autoboot command			*/
 
diff --git a/include/configs/PIP405.h b/include/configs/PIP405.h
index 029de2a1a9..393a02dd78 100644
--- a/include/configs/PIP405.h
+++ b/include/configs/PIP405.h
@@ -38,7 +38,6 @@ 
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_SCSI
 #define CONFIG_CMD_SDRAM
diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h
index ef20eee201..78ce91d089 100644
--- a/include/configs/PLU405.h
+++ b/include/configs/PLU405.h
@@ -55,7 +55,6 @@ 
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_NAND
 
 #define CONFIG_SUPPORT_VFAT
diff --git a/include/configs/PMC405DE.h b/include/configs/PMC405DE.h
index 2f05a5a176..a94e790b95 100644
--- a/include/configs/PMC405DE.h
+++ b/include/configs/PMC405DE.h
@@ -48,7 +48,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 
 #undef  CONFIG_WATCHDOG			/* watchdog disabled */
diff --git a/include/configs/T102xQDS.h b/include/configs/T102xQDS.h
index d97ec0ef95..5449d2e5d7 100644
--- a/include/configs/T102xQDS.h
+++ b/include/configs/T102xQDS.h
@@ -779,7 +779,6 @@  unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/T102xRDB.h b/include/configs/T102xRDB.h
index 99537d58e6..21c6dbbbcb 100644
--- a/include/configs/T102xRDB.h
+++ b/include/configs/T102xRDB.h
@@ -789,7 +789,6 @@  unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 977b7b6d63..5ec1e23337 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -658,7 +658,6 @@  unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/T104xRDB.h b/include/configs/T104xRDB.h
index fa691b5883..e8338ccfa6 100644
--- a/include/configs/T104xRDB.h
+++ b/include/configs/T104xRDB.h
@@ -771,7 +771,6 @@  $(SRCTREE)/board/freescale/t104xrdb/t1042d4_sd_rcw.cfg
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/T208xQDS.h b/include/configs/T208xQDS.h
index 1ca13b595d..105e905960 100644
--- a/include/configs/T208xQDS.h
+++ b/include/configs/T208xQDS.h
@@ -744,7 +744,6 @@  unsigned long get_board_ddr_clk(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index e2f1863bdc..38973cbdf3 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -272,7 +272,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
diff --git a/include/configs/UCP1020.h b/include/configs/UCP1020.h
index 9cede19d4f..b2feccfd39 100644
--- a/include/configs/UCP1020.h
+++ b/include/configs/UCP1020.h
@@ -421,8 +421,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h
index 5255b6d688..a180b381cf 100644
--- a/include/configs/VOM405.h
+++ b/include/configs/VOM405.h
@@ -53,7 +53,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h
index eca90cf750..450a2ebc11 100644
--- a/include/configs/amcc-common.h
+++ b/include/configs/amcc-common.h
@@ -51,7 +51,6 @@ 
  */
 #if defined(CONFIG_440)
 #endif
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/controlcenterd.h b/include/configs/controlcenterd.h
index 40117b9a7f..3d59e98ea2 100644
--- a/include/configs/controlcenterd.h
+++ b/include/configs/controlcenterd.h
@@ -343,7 +343,6 @@ 
 
 #ifndef CONFIG_TRAILBLAZER
 
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index 64ae67e592..e88d09255f 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -593,7 +593,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/cyrus.h b/include/configs/cyrus.h
index 9210770d7b..a23da191ab 100644
--- a/include/configs/cyrus.h
+++ b/include/configs/cyrus.h
@@ -411,7 +411,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index 7800e81116..6710507a8d 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -85,7 +85,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SAVES
diff --git a/include/configs/dlvision-10g.h b/include/configs/dlvision-10g.h
index 5597e27516..aa91bf5513 100644
--- a/include/configs/dlvision-10g.h
+++ b/include/configs/dlvision-10g.h
@@ -57,7 +57,6 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_IRQ
 
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
diff --git a/include/configs/dlvision.h b/include/configs/dlvision.h
index e5a8b3232d..ac0cd2c0db 100644
--- a/include/configs/dlvision.h
+++ b/include/configs/dlvision.h
@@ -55,7 +55,6 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_IRQ
 
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
diff --git a/include/configs/io.h b/include/configs/io.h
index 767acf2773..98d2fb551d 100644
--- a/include/configs/io.h
+++ b/include/configs/io.h
@@ -57,7 +57,6 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_IRQ
 
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 0d81ac1b2f..e95cd70d71 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -57,7 +57,6 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_IRQ
 
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
diff --git a/include/configs/ipek01.h b/include/configs/ipek01.h
index 485b989b4a..c6390dbdbe 100644
--- a/include/configs/ipek01.h
+++ b/include/configs/ipek01.h
@@ -88,7 +88,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ		/* irqinfo */
 #define CONFIG_CMD_PCI		/* pciinfo */
 
 #define CONFIG_SYS_LOWBOOT	1
diff --git a/include/configs/lwmon5.h b/include/configs/lwmon5.h
index f36ec3d3f8..8971096a98 100644
--- a/include/configs/lwmon5.h
+++ b/include/configs/lwmon5.h
@@ -381,7 +381,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SDRAM
 
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 5ae3af9e38..9aa4945f49 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -168,7 +168,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_MFSL
 
 #if defined(FLASH)
diff --git a/include/configs/neo.h b/include/configs/neo.h
index 609f7e17ee..345ee0c68a 100644
--- a/include/configs/neo.h
+++ b/include/configs/neo.h
@@ -57,7 +57,6 @@ 
 /*
  * Commands additional to the ones defined in amcc-common.h
  */
-#undef CONFIG_CMD_IRQ
 
 /*
  * SDRAM configuration (please see cpu/ppc/sdram.[ch])
diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_p2_rdb_pc.h
index 24f751c839..71b4f40921 100644
--- a/include/configs/p1_p2_rdb_pc.h
+++ b/include/configs/p1_p2_rdb_pc.h
@@ -813,7 +813,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/p1_twr.h b/include/configs/p1_twr.h
index a6501520f5..fd644f22da 100644
--- a/include/configs/p1_twr.h
+++ b/include/configs/p1_twr.h
@@ -384,7 +384,6 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
diff --git a/include/configs/qemu-ppce500.h b/include/configs/qemu-ppce500.h
index ffd776f6bf..c26810723e 100644
--- a/include/configs/qemu-ppce500.h
+++ b/include/configs/qemu-ppce500.h
@@ -127,7 +127,6 @@  extern unsigned long long get_phys_ccsrbar_addr_early(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h
index f4f9a38b2c..260cdee001 100644
--- a/include/configs/t4qds.h
+++ b/include/configs/t4qds.h
@@ -241,7 +241,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
diff --git a/include/configs/v38b.h b/include/configs/v38b.h
index c5c78bf54c..2bd6cc11ae 100644
--- a/include/configs/v38b.h
+++ b/include/configs/v38b.h
@@ -73,7 +73,6 @@ 
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_SDRAM
 
 #define CONFIG_TIMESTAMP		/* Print image info with timestamp */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 07a5d49f3b..c5b96540ae 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -252,7 +252,6 @@  int vct_gpio_get(int pin);
  * (NOR/OneNAND) usage and Linux kernel booting.
  */
 #if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_IRQ
 #undef CONFIG_CMD_LOADY
 #undef CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_STRINGS
diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h
index d8b3f1ad67..b5ef8b5c56 100644
--- a/include/configs/x86-common.h
+++ b/include/configs/x86-common.h
@@ -70,7 +70,6 @@ 
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_SCSI
 
diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
index 68ae44bfa1..e8a0c1c33d 100644
--- a/include/configs/xilinx-ppc.h
+++ b/include/configs/xilinx-ppc.h
@@ -24,7 +24,6 @@ 
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + 128 * 1024)
 
 /*Cmd*/
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_MTDPARTS
 
diff --git a/include/configs/xpedite1000.h b/include/configs/xpedite1000.h
index 8294001730..93afb2062f 100644
--- a/include/configs/xpedite1000.h
+++ b/include/configs/xpedite1000.h
@@ -175,7 +175,6 @@  extern void out32(unsigned int, unsigned long);
 /*
  * Command configuration
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 
 /*
diff --git a/include/configs/xpedite517x.h b/include/configs/xpedite517x.h
index b604019621..07f26544fd 100644
--- a/include/configs/xpedite517x.h
+++ b/include/configs/xpedite517x.h
@@ -484,7 +484,6 @@  extern unsigned long get_board_sys_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index e02eace1c0..f6bd39fc53 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_IRQ
 CONFIG_CMD_KGDB
 CONFIG_CMD_LOADY
 CONFIG_CMD_LZMADEC