Skip to contentSkip to conversation

Kconfig: Convert commands (D to L) to Kconfig

PATCH New Simon Glass 2 participants 99 messages May 17, 2017 – May 22, 2017 Page 2 of 2

Subsystems (22)
lore
Share & tools
lore
#65 lore raw

PATCH v3 32/48 Convert CONFIG_CMD_HDMIDETECT to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HDMIDETECT

Note that we cannot do 'default y if VIDEO' because this option is only enabled for a small subset of mx6 boards. Also this command is is not a great implementation (it doesn't use driver model).

---

Changes in v3: None
Changes in v2:
- Update commit message to explain why we can't 'default y if VIDEO'

 README                                  | 5 -----
 arch/arm/imx-common/Kconfig             | 6 ++++++
 configs/apalis_imx6_defconfig           | 1 +
 configs/apalis_imx6_nospl_com_defconfig | 1 +
 configs/apalis_imx6_nospl_it_defconfig  | 1 +
 configs/colibri_imx6_defconfig          | 1 +
 configs/colibri_imx6_nospl_defconfig    | 1 +
 configs/gwventana_emmc_defconfig        | 1 +
 configs/gwventana_gw5904_defconfig      | 1 +
 configs/gwventana_nand_defconfig        | 1 +
 configs/mx6cuboxi_defconfig             | 1 +
 configs/mx6qsabrelite_defconfig         | 1 +
 configs/nitrogen6dl2g_defconfig         | 1 +
 configs/nitrogen6dl_defconfig           | 1 +
 configs/nitrogen6q2g_defconfig          | 1 +
 configs/nitrogen6q_defconfig            | 1 +
 configs/nitrogen6s1g_defconfig          | 1 +
 configs/nitrogen6s_defconfig            | 1 +
 configs/novena_defconfig                | 1 +
 configs/pcm058_defconfig                | 1 +
 configs/wandboard_defconfig             | 1 +
 include/configs/apalis_imx6.h           | 1 -
 include/configs/colibri_imx6.h          | 1 -
 include/configs/gw_ventana.h            | 2 --
 include/configs/mx6cuboxi.h             | 1 -
 include/configs/nitrogen6x.h            | 1 -
 include/configs/novena.h                | 1 -
 include/configs/pcm058.h                | 1 -
 include/configs/tbs2910.h               | 1 -
 include/configs/wandboard.h             | 1 -
 scripts/config_whitelist.txt            | 2 --
 31 files changed, 25 insertions(+), 17 deletions(-)
README +0 -5
index d53607ac1e..3a4288d472 100644
@@ -2731,11 +2731,6 @@ The following options need to be configured:
 		be deprecated in favour of 'hash sha1'.
 
 - Freescale i.MX specific commands:
-		CONFIG_CMD_HDMIDETECT
-		This enables 'hdmidet' command which returns true if an
-		HDMI monitor is detected.  This command is i.MX 6 specific.
-
-- bootcount support:
 		CONFIG_BOOTCOUNT_LIMIT
 
 		This enables the bootcounter support, see:
arch/arm/imx-common/Kconfig +6 -0
index 25cbd12c89..cd8b8d2882 100644
@@ -55,3 +55,9 @@ config CMD_DEKBLOB
 	  Freescale secure boot mechanism. This command encapsulates and
 	  creates a blob of data. See also CMD_BLOB and doc/README.mxc_hab for
 	  more information.
+
+config CMD_HDMIDETECT
+	bool "Support the 'hdmidet' command"
+	help
+	  This enables the 'hdmidet' command which detects if an HDMI monitor
+	  is connected.
configs/apalis_imx6_defconfig +1 -0
index 90829b4949..f586773761 100644
@@ -7,6 +7,7 @@ CONFIG_TARGET_APALIS_IMX6=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/apalis_imx6_nospl_com_defconfig +1 -0
index ef9ca60b42..42abbbd49d 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_APALIS_IMX6=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/apalis_imx6/apalis_imx6q.cfg,MX6Q,DDR_MB=1024"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/apalis_imx6_nospl_it_defconfig +1 -0
index f48bd17c42..18f0d02e55 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_APALIS_IMX6=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/apalis_imx6/apalis_imx6q.cfg,MX6Q,DDR_MB=2048"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/colibri_imx6_defconfig +1 -0
index 47e8198e77..6c105767fc 100644
@@ -7,6 +7,7 @@ CONFIG_TARGET_COLIBRI_IMX6=y
 CONFIG_SPL_MMC_SUPPORT=y
 CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6DL"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/colibri_imx6_nospl_defconfig +1 -0
index 52e0d50411..bd2ac24d4a 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_THUMB_BUILD=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_COLIBRI_IMX6=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri_imx6/colibri_imx6.cfg,MX6DL,DDR_MB=256"
 CONFIG_BOOTDELAY=1
 # CONFIG_CONSOLE_MUX is not set
configs/gwventana_emmc_defconfig +1 -0
index 12de448115..5667aea188 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
configs/gwventana_gw5904_defconfig +1 -0
index 6d8cd6030c..8cc212b55b 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
configs/gwventana_nand_defconfig +1 -0
index 62b9b575ca..251e16a26c 100644
@@ -12,6 +12,7 @@ CONFIG_SPL_NAND_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_STACK_R_ADDR=0x18000000
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_OF_BOARD_SETUP=y
configs/mx6cuboxi_defconfig +1 -0
index f31d9bcc46..7530de1519 100644
@@ -10,6 +10,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 # CONFIG_CMD_BMODE is not set
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 # CONFIG_SYS_STDIO_DEREGISTER is not set
configs/mx6qsabrelite_defconfig +1 -0
index c4301e1f0a..a54279978f 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q.cfg,MX6Q,DDR_MB=1024,SABRELITE"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6dl2g_defconfig +1 -0
index 9b16bf48b0..5744ede776 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl2g.cfg,MX6DL,DDR_MB=2048"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6dl_defconfig +1 -0
index 83bbf8e02f..dca89ec34e 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6dl.cfg,MX6DL,DDR_MB=1024"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6q2g_defconfig +1 -0
index 69cf637eea..a19d093710 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q2g.cfg,MX6Q,DDR_MB=2048"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6q_defconfig +1 -0
index 2e9ee2e293..edf4b6377a 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6q.cfg,MX6Q,DDR_MB=1024"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6s1g_defconfig +1 -0
index f3dd324dce..0f7532062a 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s1g.cfg,MX6S,DDR_MB=1024"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/nitrogen6s_defconfig +1 -0
index 5a825d6e22..45a5acb96c 100644
@@ -2,6 +2,7 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_NITROGEN6X=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/boundary/nitrogen6x/nitrogen6s.cfg,MX6S,DDR_MB=512"
 CONFIG_BOOTDELAY=3
 CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
configs/novena_defconfig +1 -0
index d14d36a477..888680f0e4 100644
@@ -11,6 +11,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
 CONFIG_SPL_FAT_SUPPORT=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
configs/pcm058_defconfig +1 -0
index c8219b5543..c55537c032 100644
@@ -10,6 +10,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_FIT=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
 CONFIG_BOOTDELAY=3
configs/wandboard_defconfig +1 -0
index f4c9b6bc76..b4b3283829 100644
@@ -9,6 +9,7 @@ CONFIG_SPL_SERIAL_SUPPORT=y
 CONFIG_SPL_LIBDISK_SUPPORT=y
 CONFIG_SPL_WATCHDOG_SUPPORT=y
 CONFIG_VIDEO=y
+CONFIG_CMD_HDMIDETECT=y
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL"
 # CONFIG_CONSOLE_MUX is not set
include/configs/apalis_imx6.h +0 -1
index 8eddb68d3b..9220d04e79 100644
@@ -133,7 +133,6 @@
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_VIDEO_BMP_LOGO
 #define CONFIG_IPUV3_CLK		260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
include/configs/colibri_imx6.h +0 -1
index 6189a6191f..0882ef8f89 100644
@@ -114,7 +114,6 @@
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_VIDEO_BMP_LOGO
 #define CONFIG_IPUV3_CLK		260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_CONSOLE_MUX
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
include/configs/gw_ventana.h +0 -2
index 4dcff0347f..ae98333b0c 100644
@@ -141,7 +141,6 @@
 #define CONFIG_POWER_LTC3676_I2C_ADDR  0x3c
 
 /* Various command support */
-#define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
 #define CONFIG_CMD_UNZIP         /* gzwrite */
 #define CONFIG_RBTREE
 
@@ -174,7 +173,6 @@
 #define CONFIG_VIDEO_IPUV3
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_IPUV3_CLK          260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 #define CONFIG_VIDEO_BMP_LOGO
include/configs/mx6cuboxi.h +0 -1
index b2cecc5d0e..bc22f56d1d 100644
@@ -40,7 +40,6 @@
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_VIDEO_BMP_LOGO
 #define CONFIG_IMX_HDMI
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_IMX_VIDEO_SKIP
 
 /* USB */
include/configs/nitrogen6x.h +0 -1
index 13625286c5..00b84f757a 100644
@@ -93,7 +93,6 @@
 #define CONFIG_SYS_VIDEO_LOGO_MAX_SIZE (6 * 1024 * 1024)
 #define CONFIG_BMP_16BPP
 #define CONFIG_IPUV3_CLK 260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 
include/configs/novena.h +0 -1
index 753b59f6ec..6cb1807a8e 100644
@@ -156,7 +156,6 @@
 #define CONFIG_BMP_16BPP
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_IPUV3_CLK		260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 #endif
include/configs/pcm058.h +0 -1
index 44b4ffdf99..39018ac62f 100644
@@ -86,7 +86,6 @@
 #define MTDPARTS_DEFAULT  "mtdparts=nand:16m(uboot),1m(env),-(rootfs)"
 
 /* Various command support */
-#define CONFIG_CMD_HDMIDETECT    /* detect HDMI output device */
 #define CONFIG_RBTREE
 
 /* Physical Memory Map */
include/configs/tbs2910.h +0 -1
index 9720a09b32..84ca1c443e 100644
@@ -69,7 +69,6 @@
 #define CONFIG_VIDEO_BMP_RLE8
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
-#define CONFIG_CMD_HDMIDETECT
 #endif
 
 /* PCI */
include/configs/wandboard.h +0 -1
index 3e0ea71e69..2a6c6fbb70 100644
@@ -74,7 +74,6 @@
 #define CONFIG_VIDEO_LOGO
 #define CONFIG_VIDEO_BMP_LOGO
 #define CONFIG_IPUV3_CLK 260000000
-#define CONFIG_CMD_HDMIDETECT
 #define CONFIG_IMX_HDMI
 #define CONFIG_IMX_VIDEO_SKIP
 #endif
scripts/config_whitelist.txt +0 -2
index 157487cfa6..6d54d0b4ea 100644
@@ -383,8 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_HD44780
-CONFIG_CMD_HDMIDETECT
 CONFIG_CMD_IDE
 CONFIG_CMD_IMMAP
 CONFIG_CMD_IMXOTP
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#66 lore raw

PATCH v3 32/48 Convert CONFIG_CMD_HDMIDETECT to Kconfig

Quoted 9 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_HDMIDETECT

Note that we cannot do 'default y if VIDEO' because this option is only enabled for a small subset of mx6 boards. Also this command is is not a great implementation (it doesn't use driver model).

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/87aa3223/attachment.sig>
#67 lore raw

PATCH v3 33/48 Convert CONFIG_CMD_IDE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IDE

---

Changes in v3: None
Changes in v2: None

 README                                   | 1 -
 cmd/Kconfig                              | 8 ++++++++
 configs/CPCI4052_defconfig               | 1 +
 configs/M5253DEMO_defconfig              | 1 +
 configs/M5253EVBE_defconfig              | 1 +
 configs/M54455EVB_a66_defconfig          | 1 +
 configs/M54455EVB_defconfig              | 1 +
 configs/M54455EVB_i66_defconfig          | 1 +
 configs/M54455EVB_intel_defconfig        | 1 +
 configs/M54455EVB_stm33_defconfig        | 1 +
 configs/MIP405T_defconfig                | 1 +
 configs/MIP405_defconfig                 | 1 +
 configs/MPC8349ITX_LOWBOOT_defconfig     | 1 +
 configs/MPC8349ITX_defconfig             | 1 +
 configs/MiniFAP_defconfig                | 1 +
 configs/PIP405_defconfig                 | 1 +
 configs/PLU405_defconfig                 | 1 +
 configs/TQM5200S_HIGHBOOT_defconfig      | 1 +
 configs/TQM5200S_defconfig               | 1 +
 configs/TQM5200_B_HIGHBOOT_defconfig     | 1 +
 configs/TQM5200_B_defconfig              | 1 +
 configs/TQM5200_STK100_defconfig         | 1 +
 configs/TQM5200_defconfig                | 1 +
 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/a4m072_defconfig                 | 1 +
 configs/ap325rxa_defconfig               | 1 +
 configs/charon_defconfig                 | 1 +
 configs/coreboot-x86_defconfig           | 1 +
 configs/d2net_v2_defconfig               | 1 +
 configs/dbau1000_defconfig               | 1 +
 configs/dbau1100_defconfig               | 1 +
 configs/dbau1500_defconfig               | 1 +
 configs/digsy_mtc_RAMBOOT_defconfig      | 1 +
 configs/digsy_mtc_defconfig              | 1 +
 configs/digsy_mtc_rev5_RAMBOOT_defconfig | 1 +
 configs/digsy_mtc_rev5_defconfig         | 1 +
 configs/dns325_defconfig                 | 1 +
 configs/dreamplug_defconfig              | 1 +
 configs/ds109_defconfig                  | 1 +
 configs/edminiv2_defconfig               | 1 +
 configs/fo300_defconfig                  | 1 +
 configs/goflexhome_defconfig             | 1 +
 configs/guruplug_defconfig               | 1 +
 configs/ib62x0_defconfig                 | 1 +
 configs/inetspace_v2_defconfig           | 1 +
 configs/inka4x0_defconfig                | 1 +
 configs/ipek01_defconfig                 | 1 +
 configs/lschlv2_defconfig                | 1 +
 configs/lsxhl_defconfig                  | 1 +
 configs/malta64_defconfig                | 1 +
 configs/malta64el_defconfig              | 1 +
 configs/malta_defconfig                  | 1 +
 configs/maltael_defconfig                | 1 +
 configs/motionpro_defconfig              | 1 +
 configs/mpc5121ads_defconfig             | 1 +
 configs/mpc5121ads_rev2_defconfig        | 1 +
 configs/ms7720se_defconfig               | 1 +
 configs/nas220_defconfig                 | 1 +
 configs/net2big_v2_defconfig             | 1 +
 configs/netspace_lite_v2_defconfig       | 1 +
 configs/netspace_max_v2_defconfig        | 1 +
 configs/netspace_mini_v2_defconfig       | 1 +
 configs/netspace_v2_defconfig            | 1 +
 configs/nsa310s_defconfig                | 1 +
 configs/openrd_base_defconfig            | 1 +
 configs/openrd_client_defconfig          | 1 +
 configs/openrd_ultimate_defconfig        | 1 +
 configs/qemu-x86_64_defconfig            | 1 +
 configs/qemu-x86_defconfig               | 1 +
 configs/qemu-x86_efi_payload32_defconfig | 1 +
 configs/qemu-x86_efi_payload64_defconfig | 1 +
 configs/qemu_mips64_defconfig            | 1 +
 configs/qemu_mips64el_defconfig          | 1 +
 configs/qemu_mips_defconfig              | 1 +
 configs/qemu_mipsel_defconfig            | 1 +
 configs/r2dplus_defconfig                | 1 +
 configs/r7780mp_defconfig                | 1 +
 configs/sandbox_defconfig                | 1 +
 configs/sandbox_noblk_defconfig          | 1 +
 configs/sandbox_spl_defconfig            | 1 +
 configs/sheevaplug_defconfig             | 1 +
 configs/v38b_defconfig                   | 1 +
 configs/wtk_defconfig                    | 1 +
 include/config_cmd_all.h                 | 1 -
 include/configs/CPCI4052.h               | 1 -
 include/configs/M5253DEMO.h              | 1 -
 include/configs/M5253EVBE.h              | 1 -
 include/configs/M54455EVB.h              | 1 -
 include/configs/MIP405.h                 | 1 -
 include/configs/MPC8349ITX.h             | 4 ----
 include/configs/PIP405.h                 | 1 -
 include/configs/PLU405.h                 | 1 -
 include/configs/TQM5200.h                | 1 -
 include/configs/TQM823L.h                | 1 -
 include/configs/TQM823M.h                | 1 -
 include/configs/TQM850L.h                | 1 -
 include/configs/TQM850M.h                | 1 -
 include/configs/TQM855L.h                | 1 -
 include/configs/TQM855M.h                | 1 -
 include/configs/TQM860L.h                | 1 -
 include/configs/TQM860M.h                | 1 -
 include/configs/TQM862L.h                | 1 -
 include/configs/TQM862M.h                | 1 -
 include/configs/TQM866M.h                | 1 -
 include/configs/TQM885D.h                | 1 -
 include/configs/a4m072.h                 | 1 -
 include/configs/ac14xx.h                 | 1 -
 include/configs/ap325rxa.h               | 1 -
 include/configs/aria.h                   | 1 -
 include/configs/dbau1x00.h               | 6 ------
 include/configs/digsy_mtc.h              | 1 -
 include/configs/dns325.h                 | 1 -
 include/configs/edminiv2.h               | 1 -
 include/configs/goflexhome.h             | 1 -
 include/configs/ib62x0.h                 | 1 -
 include/configs/inka4x0.h                | 1 -
 include/configs/ipek01.h                 | 1 -
 include/configs/lacie_kw.h               | 1 -
 include/configs/lsxl.h                   | 1 -
 include/configs/malta.h                  | 1 -
 include/configs/mecp5123.h               | 1 -
 include/configs/motionpro.h              | 1 -
 include/configs/mpc5121ads.h             | 1 -
 include/configs/ms7720se.h               | 1 -
 include/configs/mv-plug-common.h         | 1 -
 include/configs/nas220.h                 | 1 -
 include/configs/nsa310s.h                | 1 -
 include/configs/openrd.h                 | 1 -
 include/configs/pb1x00.h                 | 2 --
 include/configs/qemu-mips.h              | 2 --
 include/configs/qemu-mips64.h            | 2 --
 include/configs/qemu-x86.h               | 1 -
 include/configs/r2dplus.h                | 1 -
 include/configs/r7780mp.h                | 1 -
 include/configs/sandbox.h                | 1 -
 include/configs/v38b.h                   | 1 -
 scripts/config_whitelist.txt             | 1 -
 150 files changed, 102 insertions(+), 66 deletions(-)
README +0 -1
index 3a4288d472..e5d5e48018 100644
@@ -847,7 +847,6 @@ The following options need to be configured:
 		CONFIG_CMD_GO		* the 'go' command (exec code)
 		CONFIG_CMD_GREPENV	* search environment
 		CONFIG_CMD_I2C		* I2C serial bus support
-		CONFIG_CMD_IDE		* IDE harddisk support
 		CONFIG_CMD_IMI		  iminfo
 		CONFIG_CMD_IMLS		  List all images found in NOR flash
 		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
cmd/Kconfig +8 -0
index 1e3cd02703..2c89a773d0 100644
@@ -484,6 +484,14 @@ config CMD_DEMO
 	  option is to use sandbox and pass the -d point to sandbox's
 	  u-boot.dtb file.
 
+config CMD_IDE
+	bool "ide - Support for IDE drivers"
+	help
+	  Provides an 'ide' command which allows accessing the IDE drive,
+	  reseting the IDE interface, printing the partition table and
+	  geting device info. It also enables the 'diskboot' command which
+	  permits booting from an IDE drive.
+
 config CMD_LOADB
 	bool "loadb"
 	default y
configs/CPCI4052_defconfig +1 -0
index 630598111d..550db77a17 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/M5253DEMO_defconfig +1 -0
index 789dddb901..09640de1ec 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xFF800000
 CONFIG_TARGET_M5253DEMO=y
 CONFIG_BOOTDELAY=5
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
configs/M5253EVBE_defconfig +1 -0
index 5b3a2fe742..79941a1253 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0xFFE00000
 CONFIG_TARGET_M5253EVBE=y
 CONFIG_BOOTDELAY=5
 # CONFIG_DISPLAY_BOARDINFO is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NET is not set
 CONFIG_CMD_CACHE=y
configs/M54455EVB_a66_defconfig +1 -0
index 3aed04e813..d681d32140 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0x04000000
 CONFIG_TARGET_M54455EVB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_ATMEL_BOOT,SYS_INPUT_CLKSRC=66666666"
 CONFIG_BOOTDELAY=1
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
configs/M54455EVB_defconfig +1 -0
index 6f624e6a00..e57323d594 100644
@@ -4,6 +4,7 @@ CONFIG_TARGET_M54455EVB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_ATMEL_BOOT,SYS_INPUT_CLKSRC=33333333"
 CONFIG_BOOTDELAY=1
 CONFIG_SYS_PROMPT="-> "
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
configs/M54455EVB_i66_defconfig +1 -0
index ecc610b74b..2a5da64a3a 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_TARGET_M54455EVB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_INTEL_BOOT,SYS_INPUT_CLKSRC=66666666"
 CONFIG_BOOTDELAY=1
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
configs/M54455EVB_intel_defconfig +1 -0
index 93756b2e27..97024333db 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_TARGET_M54455EVB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_INTEL_BOOT,SYS_INPUT_CLKSRC=33333333"
 CONFIG_BOOTDELAY=1
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
configs/M54455EVB_stm33_defconfig +1 -0
index f10027693d..1f5fb14402 100644
@@ -3,6 +3,7 @@ CONFIG_SYS_TEXT_BASE=0x4FE00000
 CONFIG_TARGET_M54455EVB=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_STMICRO_BOOT,CF_SBF,SYS_INPUT_CLKSRC=33333333"
 CONFIG_BOOTDELAY=1
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_SF=y
configs/MIP405T_defconfig +1 -0
index 65a4dea66b..743b74b40b 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/MIP405_defconfig +1 -0
index 76ba77cfe3..254cd41224 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/MPC8349ITX_LOWBOOT_defconfig +1 -0
index 4a7ff1b9eb..9cec452cd5 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX,SYS_TEXT_BASE=0xFE000000"
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX> "
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/MPC8349ITX_defconfig +1 -0
index 7c67d8c01e..9145ada7c7 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="MPC8349ITX"
 CONFIG_BOOTDELAY=6
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="MPC8349E-mITX> "
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/MiniFAP_defconfig +1 -0
index 02ca577e28..5d88a27180 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/PIP405_defconfig +1 -0
index e366ac1355..07f1b54ae9 100644
@@ -12,6 +12,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_FDC=y
configs/PLU405_defconfig +1 -0
index ffad41fae8..e30a720688 100644
@@ -10,6 +10,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/TQM5200S_HIGHBOOT_defconfig +1 -0
index d07596add0..1b3e91f9d5 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM5200S_defconfig +1 -0
index af3225554b..4ed119dbe7 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM5200_B_HIGHBOOT_defconfig +1 -0
index 37d6767f28..2e6b4dd272 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM5200_B_defconfig +1 -0
index 5e0cf9ea47..8eb3d4099e 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM5200_STK100_defconfig +1 -0
index 7b4b030d74..146c3bf514 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM5200_defconfig +1 -0
index 4792639653..c7bc5383ba 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TQM823L_LCD_defconfig +1 -0
index 89f2ecb104..61601a5a41 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM823L_defconfig +1 -0
index e2681ad715..89d1df4c72 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM823M_defconfig +1 -0
index 829942ef62..b7c6462436 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM850L_defconfig +1 -0
index 2c24844683..75ecade55b 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM850M_defconfig +1 -0
index a6882aab4d..be45efd00e 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM855L_defconfig +1 -0
index 8be81ae2a4..b3e9325253 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM855M_defconfig +1 -0
index 37e740ff45..bf1186a6cd 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM860L_defconfig +1 -0
index e65b01fc36..978540bb1a 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM860M_defconfig +1 -0
index 5c69085fdb..8daee064da 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM862L_defconfig +1 -0
index f3d077c4bd..9b7c8b8903 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM862M_defconfig +1 -0
index 3069dcbadd..ffb23d3364 100644
@@ -5,6 +5,7 @@ CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM866M_defconfig +1 -0
index a2f0f00b61..db70ca121e 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/TQM885D_defconfig +1 -0
index fc9319696a..48421e3cfe 100644
@@ -7,6 +7,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_EEPROM=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/TTTech_defconfig +1 -0
index e0493a12fb..5b4000e266 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
configs/a4m072_defconfig +1 -0
index 0054d4cddb..4fbffb6edc 100644
@@ -7,6 +7,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="asdfg"
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/ap325rxa_defconfig +1 -0
index fd30665753..ebefd126a8 100644
@@ -11,6 +11,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FPGA is not set
 # CONFIG_CMD_ECHO is not set
 # CONFIG_CMD_ITEST is not set
configs/charon_defconfig +1 -0
index 8a1429037a..89a5d08541 100644
@@ -9,6 +9,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/coreboot-x86_defconfig +1 -0
index 90cf139a79..8b51073030 100644
@@ -8,6 +8,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_BOARD_EARLY_INIT_F is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
configs/d2net_v2_defconfig +1 -0
index 58af17c5c8..a0b5c752cc 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="d2v2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/dbau1000_defconfig +1 -0
index 703f1a5c72..bb65369aaa 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_PROMPT="DbAu1xx0 # "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_RUN is not set
 # CONFIG_CMD_SAVEENV is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
configs/dbau1100_defconfig +1 -0
index 3fb0967e67..98b0d40c7b 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_PROMPT="DbAu1xx0 # "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_RUN is not set
 # CONFIG_CMD_SAVEENV is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
configs/dbau1500_defconfig +1 -0
index ad095cfdbe..cdf5477407 100644
@@ -6,6 +6,7 @@ CONFIG_SYS_PROMPT="DbAu1xx0 # "
 # CONFIG_CMD_ELF is not set
 # CONFIG_CMD_RUN is not set
 # CONFIG_CMD_SAVEENV is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FLASH is not set
configs/digsy_mtc_RAMBOOT_defconfig +1 -0
index 86b2b0d804..cda75d6e03 100644
@@ -13,6 +13,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/digsy_mtc_defconfig +1 -0
index 85b7f850f7..da9cec81a3 100644
@@ -11,6 +11,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR=" "
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/digsy_mtc_rev5_RAMBOOT_defconfig +1 -0
index 7ec8650aca..1bba630083 100644
@@ -13,6 +13,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/digsy_mtc_rev5_defconfig +1 -0
index b4b8533063..3491fdd5f1 100644
@@ -13,6 +13,7 @@ CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n"
 CONFIG_AUTOBOOT_DELAY_STR="d"
 CONFIG_AUTOBOOT_STOP_STR=" "
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/dns325_defconfig +1 -0
index 87ef896591..53be09aede 100644
@@ -7,6 +7,7 @@ CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/dreamplug_defconfig +1 -0
index e30ba0dace..8f3ffcf5ba 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_USB=y
configs/ds109_defconfig +1 -0
index e9f67ae455..46ac56797f 100644
@@ -3,6 +3,7 @@ CONFIG_KIRKWOOD=y
 CONFIG_TARGET_DS109=y
 CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/edminiv2_defconfig +1 -0
index 51c9ba5f0e..03c30ec0c4 100644
@@ -12,6 +12,7 @@ CONFIG_SPL=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="EDMiniV2> "
+CONFIG_CMD_IDE=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/fo300_defconfig +1 -0
index 00418153be..d51e31d8ed 100644
@@ -12,6 +12,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/goflexhome_defconfig +1 -0
index 046435a995..07d88b1a36 100644
@@ -7,6 +7,7 @@ CONFIG_CONSOLE_MUX=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 CONFIG_SYS_PROMPT="GoFlexHome> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/guruplug_defconfig +1 -0
index f2c22bfd54..090ff03dc5 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_USB=y
configs/ib62x0_defconfig +1 -0
index f454277678..bcdf6f8dac 100644
@@ -8,6 +8,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ib62x0 => "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_USB=y
configs/inetspace_v2_defconfig +1 -0
index ba468bd494..8daf4332ca 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/inka4x0_defconfig +1 -0
index 9b30244e3c..c263cf61c5 100644
@@ -3,6 +3,7 @@ CONFIG_MPC5xxx=y
 CONFIG_TARGET_INKA4X0=y
 CONFIG_BOOTDELAY=1
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/ipek01_defconfig +1 -0
index 690bc0f461..e424d47bf2 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_LOOPW=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/lschlv2_defconfig +1 -0
index 124bf24c4b..1d55003d67 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
configs/lsxhl_defconfig +1 -0
index 398c6b59ec..75fe55d819 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_IS_IN_ENV=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
configs/malta64_defconfig +1 -0
index a7f14bde19..a342bec808 100644
@@ -6,6 +6,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="malta # "
 # CONFIG_AUTOBOOT is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/malta64el_defconfig +1 -0
index 9b04e0be31..ac560460eb 100644
@@ -7,6 +7,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="maltael # "
 # CONFIG_AUTOBOOT is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/malta_defconfig +1 -0
index 237b3ab333..e4e21d0f0f 100644
@@ -5,6 +5,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="malta # "
 # CONFIG_AUTOBOOT is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/maltael_defconfig +1 -0
index fe5e00c259..0b9f665f10 100644
@@ -6,6 +6,7 @@ CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="maltael # "
 # CONFIG_AUTOBOOT is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/motionpro_defconfig +1 -0
index 5040ea5742..ab9ea81021 100644
@@ -8,6 +8,7 @@ CONFIG_AUTOBOOT_KEYED=y
 CONFIG_AUTOBOOT_PROMPT="Autobooting in %d seconds, press \"<Esc><Esc>\" to stop\n"
 CONFIG_AUTOBOOT_STOP_STR="\x1b\x1b"
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
configs/mpc5121ads_defconfig +1 -0
index a6bfc71f5e..a6f65d8bac 100644
@@ -6,6 +6,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/mpc5121ads_rev2_defconfig +1 -0
index 61c366a294..022e67b249 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/ms7720se_defconfig +1 -0
index b31962a8f8..30e52692d0 100644
@@ -11,6 +11,7 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/nas220_defconfig +1 -0
index 8e9c13a37c..abf71a5914 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="nas220> "
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
configs/net2big_v2_defconfig +1 -0
index ff222a1176..ab8eb958ca 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="2big2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_lite_v2_defconfig +1 -0
index cec9389b6c..66db6447ac 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_max_v2_defconfig +1 -0
index fd4525e30f..04abc9405b 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_mini_v2_defconfig +1 -0
index d6e70db41e..5f79e6f0e2 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/netspace_v2_defconfig +1 -0
index 3ccbf657a4..a81ad0b1e8 100644
@@ -10,6 +10,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="ns2> "
 # CONFIG_CMD_IMLS is not set
 CONFIG_CMD_EEPROM=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_I2C=y
configs/nsa310s_defconfig +1 -0
index 3269b85e88..74bb72ad83 100644
@@ -7,6 +7,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="nsa310s => "
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_NAND=y
 CONFIG_CMD_USB=y
configs/openrd_base_defconfig +1 -0
index 84d3f89850..cd3991ad15 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_BASE"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/openrd_client_defconfig +1 -0
index 57cbb3a0b9..db034b6ba8 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_CLIENT"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/openrd_ultimate_defconfig +1 -0
index 4bc2dcee4e..bf3ac8111a 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_EXTRA_OPTIONS="BOARD_IS_OPENRD_ULTIMATE"
 CONFIG_BOOTDELAY=3
 # CONFIG_DISPLAY_BOARDINFO is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
configs/qemu-x86_64_defconfig +1 -0
index 02e6af1342..36d0185268 100644
@@ -32,6 +32,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_BOOTEFI_HELLO_COMPILE is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
configs/qemu-x86_defconfig +1 -0
index 73ee7b69ba..b648326041 100644
@@ -13,6 +13,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
configs/qemu-x86_efi_payload32_defconfig +1 -0
index 4f6803d448..e092dbdef6 100644
@@ -10,6 +10,7 @@ CONFIG_SYS_CONSOLE_INFO_QUIET=y
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
configs/qemu-x86_efi_payload64_defconfig +1 -0
index b354ba1c7c..f8f6295617 100644
@@ -11,6 +11,7 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_CPU=y
 # CONFIG_CMD_BOOTEFI_HELLO_COMPILE is not set
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
configs/qemu_mips64_defconfig +1 -0
index e748f02c1d..45513be56f 100644
@@ -4,6 +4,7 @@ CONFIG_CPU_MIPS64_R1=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="qemu-mips64 # "
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
configs/qemu_mips64el_defconfig +1 -0
index b2d2a0bc76..5f6ea3e2e7 100644
@@ -5,6 +5,7 @@ CONFIG_CPU_MIPS64_R1=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="qemu-mips64el # "
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
configs/qemu_mips_defconfig +1 -0
index 3ef02a40c9..b87b0c571c 100644
@@ -3,6 +3,7 @@ CONFIG_TARGET_QEMU_MIPS=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="qemu-mips # "
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
configs/qemu_mipsel_defconfig +1 -0
index 08415958e2..281cf667da 100644
@@ -4,6 +4,7 @@ CONFIG_SYS_LITTLE_ENDIAN=y
 CONFIG_BOOTDELAY=10
 CONFIG_HUSH_PARSER=y
 CONFIG_SYS_PROMPT="qemu-mipsel # "
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_SETEXPR is not set
configs/r2dplus_defconfig +1 -0
index 3bd3d213bf..ba68b504d0 100644
@@ -1,6 +1,7 @@
 CONFIG_SH=y
 CONFIG_TARGET_R2DPLUS=y
 CONFIG_BOOTDELAY=-1
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
configs/r7780mp_defconfig +1 -0
index 999470c26c..2a37db824d 100644
@@ -10,6 +10,7 @@ CONFIG_BOOTDELAY=3
 # CONFIG_CMD_XIMG is not set
 # CONFIG_CMD_EDITENV is not set
 # CONFIG_CMD_ENV_EXISTS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_LOADB is not set
 # CONFIG_CMD_LOADS is not set
 # CONFIG_CMD_FPGA is not set
configs/sandbox_defconfig +1 -0
index a573d52b7f..56903a3f83 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MX_CYCLIC=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_DEMO=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
configs/sandbox_noblk_defconfig +1 -0
index 312834bf40..3981d4db56 100644
@@ -30,6 +30,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MX_CYCLIC=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_DEMO=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_PART=y
 CONFIG_CMD_SF=y
configs/sandbox_spl_defconfig +1 -0
index 7f262dc327..d80e78901b 100644
@@ -37,6 +37,7 @@ CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_MX_CYCLIC=y
 CONFIG_CMD_MEMINFO=y
 CONFIG_CMD_DEMO=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_GPT=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
configs/sheevaplug_defconfig +1 -0
index fa99d51505..80cc62ebd6 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=3
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_BOOTZ=y
 # CONFIG_CMD_IMLS is not set
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_FLASH is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_NAND=y
configs/v38b_defconfig +1 -0
index 18dc039d93..3d0065ea84 100644
@@ -3,6 +3,7 @@ CONFIG_MPC5xxx=y
 CONFIG_TARGET_V38B=y
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
+CONFIG_CMD_IDE=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
configs/wtk_defconfig +1 -0
index ad9100e0f5..ce3745a221 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=5
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_HUSH_PARSER=y
 CONFIG_CMD_ASKENV=y
+CONFIG_CMD_IDE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
include/config_cmd_all.h +0 -1
index 3c238d929f..b00f96ef6e 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_IDE		/* IDE harddisk support		*/
 #define CONFIG_CMD_IMMAP	/* IMMR dump support		*/
 #define CONFIG_CMD_IO		/* Access to X86 IO space	*/
 #define CONFIG_CMD_IRQ		/* irqinfo			*/
include/configs/CPCI4052.h +0 -1
index 43bf127a2a..c444198778 100644
@@ -62,7 +62,6 @@
  */
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IDE
 
 #define CONFIG_SUPPORT_VFAT
 
include/configs/M5253DEMO.h +0 -1
index b1a49b07c3..e7c6f8b558 100644
@@ -37,7 +37,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 
 #ifdef CONFIG_CMD_IDE
 /* ATA */
include/configs/M5253EVBE.h +0 -1
index 380221e732..4f7a19b5d3 100644
@@ -46,7 +46,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 
 /* ATA */
 #define CONFIG_IDE_RESET	1
include/configs/M54455EVB.h +0 -1
index 806f00555f..9b6bd1025d 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
include/configs/MIP405.h +0 -1
index 64c6ed100f..e758f1947b 100644
@@ -46,7 +46,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
include/configs/MPC8349ITX.h +0 -4
index 6d35d705ec..7cf27fa96d 100644
@@ -486,10 +486,6 @@ boards, we say we have two, but don't display a message if we find only one. */
 	#define CONFIG_SUPPORT_VFAT
 #endif
 
-#ifdef CONFIG_COMPACT_FLASH
-	#define CONFIG_CMD_IDE
-#endif
-
 #ifdef CONFIG_SATA_SIL3114
 	#define CONFIG_CMD_SATA
 #endif
include/configs/PIP405.h +0 -1
index eb1f0e26c5..029de2a1a9 100644
@@ -37,7 +37,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
include/configs/PLU405.h +0 -1
index 74cb8abafb..ef20eee201 100644
@@ -56,7 +56,6 @@
  */
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_NAND
 
 #define CONFIG_SUPPORT_VFAT
include/configs/TQM5200.h +0 -1
index 19e0b1be1b..8d165290eb 100644
@@ -153,7 +153,6 @@
 
 #if defined(CONFIG_CHARON) || defined(CONFIG_FO300) || \
 	defined(CONFIG_MINIFAP) || defined(CONFIG_STK52XX)
-    #define CONFIG_CMD_IDE
 #endif
 
 #if defined(CONFIG_CHARON) || defined(CONFIG_FO300) || \
include/configs/TQM823L.h +0 -1
index f56bd239af..685cb5146e 100644
@@ -91,7 +91,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM823M.h +0 -1
index ed08d972f8..88ee42fe00 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM850L.h +0 -1
index c2b35fd196..621a4b1def 100644
@@ -84,7 +84,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM850M.h +0 -1
index 76b52ab6b1..34e9520c3c 100644
@@ -84,7 +84,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM855L.h +0 -1
index 10ba21d97d..bf96d0989b 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM855M.h +0 -1
index ffb514bb85..f47b0baba0 100644
@@ -115,7 +115,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM860L.h +0 -1
index 7569cd1e83..4617740336 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM860M.h +0 -1
index d2cb4b9a87..9c445fdadc 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM862L.h +0 -1
index 03ad2e63a0..7f384cda97 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM862M.h +0 -1
index 485bd6c8a6..31392e0561 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM866M.h +0 -1
index f11e23a6a3..baa65c0dec 100644
@@ -129,7 +129,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
include/configs/TQM885D.h +0 -1
index e91070ae30..184cb62e19 100644
@@ -125,7 +125,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 
 /*
  * Miscellaneous configurable options
include/configs/a4m072.h +0 -1
index 2ea43ffce1..6a26269807 100644
@@ -81,7 +81,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 
 #if defined(CONFIG_PCI)
 #define CONFIG_CMD_PCI
include/configs/ac14xx.h +0 -1
index 3d3c216d61..8b55dee498 100644
@@ -367,7 +367,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
include/configs/ap325rxa.h +0 -1
index 1cd4d32c6d..b3c22cf4a4 100644
@@ -14,7 +14,6 @@
 #define CONFIG_AP325RXA	1
 
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_IDE
 
 #define CONFIG_BOOTARGS		"console=ttySC2,38400"
 
include/configs/aria.h +0 -1
index 3b5d56c6bb..1564b40832 100644
@@ -372,7 +372,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
include/configs/dbau1x00.h +0 -6
index e788f9c635..9db3380a95 100644
@@ -69,13 +69,7 @@
 
 #ifdef CONFIG_DBAU1550
 
-#undef CONFIG_CMD_IDE
 #undef CONFIG_CMD_PCMCIA
-
-#else
-
-#define CONFIG_CMD_IDE
-
 #endif
 
 /*
include/configs/digsy_mtc.h +0 -1
index ab546c50cd..7800e81116 100644
@@ -85,7 +85,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
include/configs/dns325.h +0 -1
index de682334eb..470e26256a 100644
@@ -29,7 +29,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_IDE
 #define CONFIG_SYS_MVFS
 
 #define CONFIG_NR_DRAM_BANKS		1
include/configs/edminiv2.h +0 -1
index d1c7b937e3..2f2e930b4e 100644
@@ -120,7 +120,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_IDE
 
 /*
  * Network
include/configs/goflexhome.h +0 -1
index dbcd2b2dbe..d1635b098e 100644
@@ -44,7 +44,6 @@
  */
 
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_IDE
 #define CONFIG_SYS_MVFS         /* Picks up Filesystem from mv-common.h */
 
 /*
include/configs/ib62x0.h +0 -1
index 2cf0027d9c..36a66bb463 100644
@@ -29,7 +29,6 @@
  * Commands configuration
  */
 #define CONFIG_SYS_MVFS
-#define CONFIG_CMD_IDE
 
 /*
  * mv-common.h should be defined after CMD configs since it used them
include/configs/inka4x0.h +0 -1
index 3bdab3310b..d651eff4b2 100644
@@ -72,7 +72,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_PCI
 
 #define	CONFIG_TIMESTAMP	1	/* Print image info with timestamp */
include/configs/ipek01.h +0 -1
index ece72c6aa1..485b989b4a 100644
@@ -88,7 +88,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE		/* IDE harddisk support */
 #define CONFIG_CMD_IRQ		/* irqinfo */
 #define CONFIG_CMD_PCI		/* pciinfo */
 
include/configs/lacie_kw.h +0 -1
index 69c08c69da..66e65c878c 100644
@@ -43,7 +43,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_IDE
 #ifndef CONFIG_NETSPACE_MINI_V2 /* No USB ports on Network Space v2 Mini */
 #endif
 
include/configs/lsxl.h +0 -1
index 59542a62e4..d2c210119b 100644
@@ -38,7 +38,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_IDE
 
 /*
  * mv-common.h should be defined after CMD configs since it used them
include/configs/malta.h +0 -1
index fcee37400d..1f977cb71a 100644
@@ -101,7 +101,6 @@
 /*
  * Commands
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_PCI
 
 #define CONFIG_SYS_LONGHELP		/* verbose help, undef to save memory */
include/configs/mecp5123.h +0 -1
index 6e10cafe6e..fcc1c68236 100644
@@ -273,7 +273,6 @@
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	/* allow baudrate change	*/
 
 #define CONFIG_CMD_REGINFO
-#undef CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 
 /*
include/configs/motionpro.h +0 -1
index aaa8962fd2..02ac7b3089 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
include/configs/mpc5121ads.h +0 -1
index bd7c4a64e2..14cf2e8cb9 100644
@@ -378,7 +378,6 @@
 #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
include/configs/ms7720se.h +0 -1
index 0015be980b..2855c00723 100644
@@ -14,7 +14,6 @@
 
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_PCMCIA
-#define CONFIG_CMD_IDE
 
 #define CONFIG_BOOTARGS		"console=ttySC0,115200"
 #define CONFIG_BOOTFILE		"/boot/zImage"
include/configs/mv-plug-common.h +0 -1
index ce85e38875..90ad0a654b 100644
@@ -28,7 +28,6 @@
 /*
  * Commands configuration
  */
-#define CONFIG_CMD_IDE
 
 /*
  * Extra file system
include/configs/nas220.h +0 -1
index 7004176c4a..9ecc28811b 100644
@@ -42,7 +42,6 @@
  * Commands configuration
  */
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_IDE
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_AUTO_COMPLETE
 #define CONFIG_CMDLINE_EDITING
include/configs/nsa310s.h +0 -1
index eba31c4abf..b988d3d7f9 100644
@@ -25,7 +25,6 @@
 
 /* commands configuration */
 #define CONFIG_SYS_MVFS
-#define CONFIG_CMD_IDE
 
 /*
  * mv-common.h should be defined after CMD configs since it used them
include/configs/openrd.h +0 -1
index 6c17f3b24b..89e963d524 100644
@@ -27,7 +27,6 @@
  */
 #define CONFIG_SYS_MVFS
 #define CONFIG_CMD_NAND
-#define CONFIG_CMD_IDE
 
 /*
  * mv-common.h should be defined after CMD configs since it used them
include/configs/pb1x00.h +0 -2
index f6bd4fec88..efbcbd2e05 100644
@@ -148,6 +148,4 @@
  * Command line configuration.
  */
 
-#undef CONFIG_CMD_IDE
-
 #endif	/* __CONFIG_H */
include/configs/qemu-mips.h +0 -2
index 59a793babe..aeaf88a686 100644
@@ -50,8 +50,6 @@
 #define CONFIG_SYS_NS16550_COM1		0xb40003f8
 #define CONFIG_CONS_INDEX		1
 
-#define CONFIG_CMD_IDE
-
 #ifdef CONFIG_SYS_BIG_ENDIAN
 #define CONFIG_IDE_SWAP_IO
 #endif
include/configs/qemu-mips64.h +0 -2
index 28b791acdd..d201c848ff 100644
@@ -50,8 +50,6 @@
 #define CONFIG_SYS_NS16550_COM1		0xffffffffb40003f8
 #define CONFIG_CONS_INDEX		1
 
-#define CONFIG_CMD_IDE
-
 #ifdef CONFIG_SYS_BIG_ENDIAN
 #define CONFIG_IDE_SWAP_IO
 #endif
include/configs/qemu-x86.h +0 -1
index 687befdad3..b751ad5e14 100644
@@ -27,7 +27,6 @@
  * Default configuraion is to support the QEMU default x86 target
  * Undefine CONFIG_CMD_IDE to support q35 target
  */
-#define CONFIG_CMD_IDE
 #ifdef CONFIG_CMD_IDE
 #define CONFIG_SYS_IDE_MAXBUS		2
 #define CONFIG_SYS_IDE_MAXDEVICE	4
include/configs/r2dplus.h +0 -1
index 64fc5b2f03..744d567805 100644
@@ -12,7 +12,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_SH_ZIMAGEBOOT
 
 /* SCIF */
include/configs/r7780mp.h +0 -1
index 2efe36f854..26c5f0feeb 100644
@@ -22,7 +22,6 @@
  */
 #define CONFIG_CMD_SDRAM
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IDE
 
 #define CONFIG_SCIF_CONSOLE	1
 #define CONFIG_CONS_SCIF0	1
include/configs/sandbox.h +0 -1
index cd7a82630e..dccfaf6a0d 100644
@@ -160,7 +160,6 @@
 #define CONFIG_CMD_LZMADEC
 
 #ifndef CONFIG_SPL_BUILD
-#define CONFIG_CMD_IDE
 #define CONFIG_SYS_IDE_MAXBUS		1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	0
 #define CONFIG_SYS_IDE_MAXDEVICE	2
include/configs/v38b.h +0 -1
index 0bc0ae517a..8b2f39c910 100644
@@ -73,7 +73,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IDE
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_SDRAM
scripts/config_whitelist.txt +0 -1
index 6d54d0b4ea..6111c49c17 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IDE
 CONFIG_CMD_IMMAP
 CONFIG_CMD_IMXOTP
 CONFIG_CMD_IMX_FUSE
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#68 lore raw

PATCH v3 33/48 Convert CONFIG_CMD_IDE to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IDE

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/4962c8d2/attachment.sig>
#69 lore raw

PATCH v3 34/48 Kconfig: Add a CONFIG_IDE option

In reply to Simon Glass

At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate CONFIG_IDE option so that IDE support can be enabled without requiring the 'ide' command.

Update existing users and move the ide driver into drivers/block since it should not be in common/.

---

Changes in v3: None
Changes in v2: None

 README                                       |  2 +-
 api/api_storage.c                            |  2 +-
 arch/arm/mach-kirkwood/include/mach/config.h |  6 +++---
 arch/powerpc/cpu/mpc5xxx/ide.c               |  2 +-
 arch/powerpc/lib/Makefile                    |  2 +-
 board/freescale/m5253demo/m5253demo.c        |  4 ++--
 board/freescale/m5253evbe/m5253evbe.c        |  4 ++--
 board/freescale/m54455evb/m54455evb.c        |  2 +-
 board/intercontrol/digsy_mtc/digsy_mtc.c     |  4 ++--
 board/jupiter/jupiter.c                      |  2 +-
 board/phytec/pcm030/pcm030.c                 |  4 ++--
 board/tqc/tqm5200/tqm5200.c                  |  2 +-
 board/v38b/v38b.c                            |  2 +-
 cmd/Kconfig                                  |  1 +
 cmd/pcmcia.c                                 |  2 +-
 common/Makefile                              |  1 -
 common/board_r.c                             | 10 ++++------
 drivers/block/Kconfig                        |  8 ++++++++
 drivers/block/Makefile                       |  1 +
 {common => drivers/block}/ide.c              |  0
 drivers/block/sil680.c                       |  2 +-
 drivers/pcmcia/marubun_pcmcia.c              |  2 +-
 drivers/pcmcia/mpc8xx_pcmcia.c               |  2 +-
 drivers/pcmcia/tqm8xx_pcmcia.c               |  2 +-
 fs/fat/fat.c                                 |  2 +-
 include/config_distro_bootcmd.h              |  6 +++---
 include/config_fallbacks.h                   |  2 +-
 include/configs/M5253DEMO.h                  |  2 +-
 include/configs/edminiv2.h                   |  2 +-
 include/configs/ib62x0.h                     |  4 ++--
 include/configs/lsxl.h                       |  2 +-
 include/configs/mpc5121ads.h                 |  4 ++--
 include/configs/nsa310s.h                    |  4 ++--
 include/configs/qemu-x86.h                   |  4 ++--
 include/configs/r7780mp.h                    |  4 ++--
 include/configs/sheevaplug.h                 |  4 ++--
 include/pcmcia.h                             |  4 ++--
 37 files changed, 60 insertions(+), 53 deletions(-)
 rename {common => drivers/block}/ide.c (100%)
README +1 -1
index e5d5e48018..2dafe21f0d 100644
@@ -1081,7 +1081,7 @@ The following options need to be configured:
 				       disk/part_efi.c
 		CONFIG_MTD_PARTITIONS  Memory Technology Device partition table.
 
-		If IDE or SCSI support is enabled (CONFIG_CMD_IDE or
+		If IDE or SCSI support is enabled (CONFIG_IDE or
 		CONFIG_SCSI) you must configure support for at
 		least one non-MTD partition type as well.
 
api/api_storage.c +1 -1
index a5357bc9cf..f858f09f1a 100644
@@ -46,7 +46,7 @@ static struct stor_spec specs[ENUM_MAX] = { { 0, 0, 0, 0, NULL }, };
 
 void dev_stor_init(void)
 {
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 	specs[ENUM_IDE].max_dev = CONFIG_SYS_IDE_MAXDEVICE;
 	specs[ENUM_IDE].enum_started = 0;
 	specs[ENUM_IDE].enum_ended = 0;
arch/arm/mach-kirkwood/include/mach/config.h +3 -3
index c7beb58e80..ba6007186e 100644
@@ -95,7 +95,7 @@
 /*
  * IDE Support on SATA ports
  */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define __io
 #define CONFIG_MVSATA_IDE
 #define CONFIG_IDE_PREINIT
@@ -110,12 +110,12 @@
 #define CONFIG_SYS_ATA_STRIDE		4
 /* Controller supports 48-bits LBA addressing */
 #define CONFIG_LBA48
-/* CONFIG_CMD_IDE requires some #defines for ATA registers */
+/* CONFIG_IDE requires some #defines for ATA registers */
 #define CONFIG_SYS_IDE_MAXBUS		2
 #define CONFIG_SYS_IDE_MAXDEVICE	2
 /* ATA registers base is at SATA controller base */
 #define CONFIG_SYS_ATA_BASE_ADDR	MV_SATA_BASE
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 /*
  * I2C related stuff
arch/powerpc/cpu/mpc5xxx/ide.c +1 -1
index 9003b774ff..d1f4349184 100644
@@ -8,7 +8,7 @@
  */
 #include <common.h>
 
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 #include <mpc5xxx.h>
 
 DECLARE_GLOBAL_DATA_PTR;
arch/powerpc/lib/Makefile +1 -1
index 4f68613a41..88adb26e2e 100644
@@ -35,7 +35,7 @@ obj-y	+= cache.o
 obj-y	+= extable.o
 obj-y	+= interrupts.o
 obj-$(CONFIG_CMD_KGDB) += kgdb.o
-obj-$(CONFIG_CMD_IDE) += ide.o
+obj-$(CONFIG_IDE) += ide.o
 obj-y	+= stack.o
 obj-y	+= time.o
 
board/freescale/m5253demo/m5253demo.c +2 -2
index c2cc2d76e4..3318368623 100644
@@ -88,7 +88,7 @@ int testdram(void)
 	return (0);
 }
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #include <ata.h>
 int ide_preinit(void)
 {
@@ -133,7 +133,7 @@ void ide_set_reset(int idereset)
 		setbits_8(&ata->cr, 0x01);
 	}
 }
-#endif				/* CONFIG_CMD_IDE */
+#endif				/* CONFIG_IDE */
 
 
 #ifdef CONFIG_DRIVER_DM9000
board/freescale/m5253evbe/m5253evbe.c +2 -2
index c1ed431190..2c6afadb9a 100644
@@ -81,7 +81,7 @@ int testdram(void)
 	return (0);
 }
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #include <ata.h>
 int ide_preinit(void)
 {
@@ -126,4 +126,4 @@ void ide_set_reset(int idereset)
 		setbits_8(&ata->cr, 0x01);
 	}
 }
-#endif				/* CONFIG_CMD_IDE */
+#endif				/* CONFIG_IDE */
board/freescale/m54455evb/m54455evb.c +1 -1
index d6b0650b99..1e35970023 100644
@@ -88,7 +88,7 @@ int testdram(void)
 	return (0);
 }
 
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 #include <ata.h>
 
 int ide_preinit(void)
board/intercontrol/digsy_mtc/digsy_mtc.c +2 -2
index b8bc0459f8..6c33eeb022 100644
@@ -325,7 +325,7 @@ void pci_init_board(void)
 }
 #endif
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 
 #ifdef CONFIG_IDE_RESET
 
@@ -369,7 +369,7 @@ void ide_set_reset(int idereset)
 	setbits_be32((void *)MPC5XXX_WU_GPIO_ENABLE, (1 << 25));
 }
 #endif /* CONFIG_IDE_RESET */
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 #ifdef CONFIG_OF_BOARD_SETUP
 static void ft_delete_node(void *fdt, const char *compat)
board/jupiter/jupiter.c +1 -1
index ea24eaa5c0..52d2766e9a 100644
@@ -259,7 +259,7 @@ void pci_init_board(void)
 }
 #endif
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET)
 
 void init_ide_reset (void)
 {
board/phytec/pcm030/pcm030.c +2 -2
index 983559e81e..bdd980da91 100644
@@ -176,7 +176,7 @@ int ft_board_setup(void *blob, bd_t *bd)
 }
 #endif /* CONFIG_OF_BOARD_SETUP */
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET)
 
 #define GPIO_PSC2_4	0x02000000UL
 
@@ -206,4 +206,4 @@ void ide_set_reset(int idereset)
 	} else
 		setbits_be32(&wu_gpio->dvo, GPIO_PSC2_4);
 }
-#endif /* defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET) */
+#endif /* defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET) */
board/tqc/tqm5200/tqm5200.c +1 -1
index c48ab11fc4..cb99afdb90 100644
@@ -312,7 +312,7 @@ void pci_init_board(void)
 }
 #endif
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET)
 
 #if defined (CONFIG_MINIFAP)
 #define SM501_POWER_MODE0_GATE		0x00000040UL
board/v38b/v38b.c +1 -1
index 73227c1b15..e680b7b8ff 100644
@@ -224,7 +224,7 @@ int misc_init_r(void)
 	return 0;
 }
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_RESET)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_RESET)
 void init_ide_reset(void)
 {
 	debug("init_ide_reset\n");
cmd/Kconfig +1 -0
index 2c89a773d0..1268e38b59 100644
@@ -486,6 +486,7 @@ config CMD_DEMO
 
 config CMD_IDE
 	bool "ide - Support for IDE drivers"
+	select IDE
 	help
 	  Provides an 'ide' command which allows accessing the IDE drive,
 	  reseting the IDE interface, printing the partition table and
cmd/pcmcia.c +1 -1
index 682d18f55d..044fb9e618 100644
@@ -83,7 +83,7 @@ U_BOOT_CMD(
 
 #undef	CHECK_IDE_DEVICE
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
 #define	CHECK_IDE_DEVICE
 #endif
 
common/Makefile +0 -1
index b2d663530d..c7c8ea42c6 100644
@@ -145,7 +145,6 @@ obj-y += dlmalloc.o
 ifdef CONFIG_SYS_MALLOC_F_LEN
 obj-y += malloc_simple.o
 endif
-obj-$(CONFIG_CMD_IDE) += ide.o
 obj-y += image.o
 obj-$(CONFIG_ANDROID_BOOT_IMAGE) += image-android.o
 obj-$(CONFIG_$(SPL_)OF_LIBFDT) += image-fdt.o
common/board_r.c +4 -6
index 28f32c3885..fe7a70b589 100644
@@ -23,9 +23,7 @@
 #include <dm.h>
 #include <environment.h>
 #include <fdtdec.h>
-#if defined(CONFIG_CMD_IDE)
 #include <ide.h>
-#endif
 #include <initcall.h>
 #include <init_helpers.h>
 #ifdef CONFIG_PS2KBD
@@ -611,7 +609,7 @@ static int initr_post(void)
 }
 #endif
 
-#if defined(CONFIG_CMD_PCMCIA) && !defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_CMD_PCMCIA) && !defined(CONFIG_IDE)
 static int initr_pcmcia(void)
 {
 	puts("PCMCIA:");
@@ -620,7 +618,7 @@ static int initr_pcmcia(void)
 }
 #endif
 
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 static int initr_ide(void)
 {
 #ifdef	CONFIG_IDE_8xx_PCCARD
@@ -870,10 +868,10 @@ static init_fnc_t init_sequence_r[] = {
 #ifdef CONFIG_POST
 	initr_post,
 #endif
-#if defined(CONFIG_CMD_PCMCIA) && !defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_CMD_PCMCIA) && !defined(CONFIG_IDE)
 	initr_pcmcia,
 #endif
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 	initr_ide,
 #endif
 #ifdef CONFIG_LAST_STAGE_INIT
drivers/block/Kconfig +8 -0
index 6cbe1454b8..931defd2ae 100644
@@ -59,3 +59,11 @@ config DWC_AHCI
 	  Synopsys DWC AHCI module.
 
 endmenu
+
+config IDE
+	bool "Support IDE controllers"
+	help
+	  Enables support for IDE (Integrated Drive Electronics) hard drives.
+	  This allows access to raw blocks and filesystems on an IDE drive
+	  from U-Boot. See also CMD_IDE which provides an 'ide' command for
+	  performing various IDE operations.
drivers/block/Makefile +1 -0
index d89c8b0574..06450966b1 100644
@@ -17,6 +17,7 @@ obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
 obj-$(CONFIG_SCSI_AHCI) += ahci.o
 obj-$(CONFIG_DWC_AHSATA) += dwc_ahsata.o
 obj-$(CONFIG_FSL_SATA) += fsl_sata.o
+obj-$(CONFIG_IDE) += ide.o
 obj-$(CONFIG_IDE_FTIDE020) += ftide020.o
 obj-$(CONFIG_LIBATA) += libata.o
 obj-$(CONFIG_MVSATA_IDE) += mvsata_ide.o
drivers/block/ide.c renamed from common/ide.c +0 -0
similarity index 100%
rename from common/ide.c
rename to drivers/block/ide.c
drivers/block/sil680.c +1 -1
index 3ca64b980d..b1db257838 100644
@@ -17,7 +17,7 @@
  * incorrect for the target board (e.g. the sequoia board requires 0).
  * #define CONFIG_SYS_PCI_CACHE_LINE_SIZE	0
  *
- * #define CONFIG_CMD_IDE
+ * #define CONFIG_IDE
  * #undef  CONFIG_IDE_8xx_DIRECT
  * #undef  CONFIG_IDE_LED
  * #undef  CONFIG_IDE_RESET
drivers/pcmcia/marubun_pcmcia.c +1 -1
index afd6df6440..739d7545da 100644
@@ -17,7 +17,7 @@
 #define	CONFIG_PCMCIA
 #endif
 
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 #define	CONFIG_PCMCIA
 #endif
 
drivers/pcmcia/mpc8xx_pcmcia.c +1 -1
index 1b41e39158..dae5560f8c 100644
@@ -9,7 +9,7 @@
 #define	CONFIG_PCMCIA
 #endif
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
 #define	CONFIG_PCMCIA
 #endif
 
drivers/pcmcia/tqm8xx_pcmcia.c +1 -1
index 45dcb54d71..edff50f630 100644
@@ -15,7 +15,7 @@
 #define	CONFIG_PCMCIA
 #endif
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
 #define	CONFIG_PCMCIA
 #endif
 
fs/fat/fat.c +1 -1
index 56540031d6..a71bad1cbc 100644
@@ -1250,7 +1250,7 @@ int file_fat_detectfs(void)
 		return 1;
 	}
 
-#if defined(CONFIG_CMD_IDE) || \
+#if defined(CONFIG_IDE) || \
     defined(CONFIG_CMD_SATA) || \
     defined(CONFIG_SCSI) || \
     defined(CONFIG_CMD_USB) || \
include/config_distro_bootcmd.h +3 -3
index 0e01e8240d..4b2c493ae3 100644
@@ -186,16 +186,16 @@
 	BOOT_TARGET_DEVICES_references_SCSI_without_CONFIG_SCSI
 #endif
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define BOOTENV_SHARED_IDE	BOOTENV_SHARED_BLKDEV(ide)
 #define BOOTENV_DEV_IDE		BOOTENV_DEV_BLKDEV
 #define BOOTENV_DEV_NAME_IDE	BOOTENV_DEV_NAME_BLKDEV
 #else
 #define BOOTENV_SHARED_IDE
 #define BOOTENV_DEV_IDE \
-	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_CMD_IDE
+	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
 #define BOOTENV_DEV_NAME_IDE \
-	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_CMD_IDE
+	BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
 #endif
 
 #if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI)
include/config_fallbacks.h +1 -1
index 7aa5b02396..5a698a8349 100644
@@ -43,7 +43,7 @@
 #endif
 
 /* Rather than repeat this expression each time, add a define for it */
-#if defined(CONFIG_CMD_IDE) || \
+#if defined(CONFIG_IDE) || \
 	defined(CONFIG_CMD_SATA) || \
 	defined(CONFIG_SCSI) || \
 	defined(CONFIG_CMD_USB) || \
include/configs/M5253DEMO.h +1 -1
index e7c6f8b558..3efd7e59cf 100644
@@ -38,7 +38,7 @@
  * Command line configuration.
  */
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 /* ATA */
 #	define CONFIG_IDE_RESET		1
 #	define CONFIG_IDE_PREINIT	1
include/configs/edminiv2.h +1 -1
index 2f2e930b4e..a46e86e5b2 100644
@@ -140,7 +140,7 @@
 /*
  * IDE
  */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define __io
 #define CONFIG_IDE_PREINIT
 /* ED Mini V has an IDE-compatible SATA connector for port 1 */
include/configs/ib62x0.h +2 -2
index 36a66bb463..0b92d7b2ca 100644
@@ -87,14 +87,14 @@
 /*
  * SATA driver configuration
  */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define __io
 #define CONFIG_IDE_PREINIT
 #define CONFIG_MVSATA_IDE_USE_PORT0
 #define CONFIG_MVSATA_IDE_USE_PORT1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
 #define CONFIG_SYS_ATA_IDE1_OFFSET	MV_SATA_PORT1_OFFSET
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 /*
  * RTC driver configuration
include/configs/lsxl.h +1 -1
index d2c210119b..43e4a325b4 100644
@@ -145,7 +145,7 @@
 #undef CONFIG_RESET_PHY_R
 #endif /* CONFIG_CMD_NET */
 
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #undef CONFIG_IDE_LED
 #undef CONFIG_SYS_IDE_MAXBUS
 #define CONFIG_SYS_IDE_MAXBUS		1
include/configs/mpc5121ads.h +2 -2
index 14cf2e8cb9..5c9a2d939b 100644
@@ -411,10 +411,10 @@
 						"1m(u-boot);"		\
 					"mpc5121.nand:-(data)"
 
-#if defined(CONFIG_CMD_IDE) || defined(CONFIG_CMD_EXT2) || defined(CONFIG_CMD_USB)
+#if defined(CONFIG_IDE) || defined(CONFIG_CMD_EXT2) || defined(CONFIG_CMD_USB)
 #define CONFIG_SUPPORT_VFAT
 
-#endif /* defined(CONFIG_CMD_IDE) */
+#endif /* defined(CONFIG_IDE) */
 
 /*
  * Watchdog timeout = CONFIG_SYS_WATCHDOG_VALUE * 65536 / IPS clock.
include/configs/nsa310s.h +2 -2
index b988d3d7f9..9b99b0e44f 100644
@@ -79,12 +79,12 @@
 #endif /* CONFIG_CMD_NET */
 
 /* SATA driver configuration */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define __io
 #define CONFIG_IDE_PREINIT
 #define CONFIG_MVSATA_IDE_USE_PORT0
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 /* RTC driver configuration */
 #ifdef CONFIG_CMD_DATE
include/configs/qemu-x86.h +2 -2
index b751ad5e14..3509c2f659 100644
@@ -25,9 +25,9 @@
  *   - AHCI controller is supported for QEMU '-M q35' target
  *
  * Default configuraion is to support the QEMU default x86 target
- * Undefine CONFIG_CMD_IDE to support q35 target
+ * Undefine CONFIG_IDE to support q35 target
  */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define CONFIG_SYS_IDE_MAXBUS		2
 #define CONFIG_SYS_IDE_MAXDEVICE	4
 #define CONFIG_SYS_ATA_BASE_ADDR	0
include/configs/r7780mp.h +2 -2
index 26c5f0feeb..bb79a9ffea 100644
@@ -119,7 +119,7 @@
 #endif
 
 /* Compact flash Support */
-#if defined(CONFIG_CMD_IDE)
+#if defined(CONFIG_IDE)
 #define CONFIG_IDE_RESET        1
 #define CONFIG_SYS_PIO_MODE            1
 #define CONFIG_SYS_IDE_MAXBUS          1   /* IDE bus */
@@ -130,6 +130,6 @@
 #define CONFIG_SYS_ATA_REG_OFFSET      0x1000          /* reg offset */
 #define CONFIG_SYS_ATA_ALT_OFFSET      0x800           /* alternate register offset */
 #define CONFIG_IDE_SWAP_IO
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 #endif /* __R7780RP_H */
include/configs/sheevaplug.h +2 -2
index a111057313..9d2c106d46 100644
@@ -90,13 +90,13 @@
 /*
  * SATA driver configuration
  */
-#ifdef CONFIG_CMD_IDE
+#ifdef CONFIG_IDE
 #define __io
 #define CONFIG_IDE_PREINIT
 #define CONFIG_MVSATA_IDE_USE_PORT0
 #define CONFIG_MVSATA_IDE_USE_PORT1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	MV_SATA_PORT0_OFFSET
 #define CONFIG_SYS_ATA_IDE1_OFFSET	MV_SATA_PORT1_OFFSET
-#endif /* CONFIG_CMD_IDE */
+#endif /* CONFIG_IDE */
 
 #endif /* _CONFIG_SHEEVAPLUG_H */
include/pcmcia.h +2 -2
index c8a730c4d0..aaaf6511a8 100644
@@ -16,7 +16,7 @@
  * or try to generate a useful default
  */
 #if defined(CONFIG_CMD_PCMCIA) || \
-    (defined(CONFIG_CMD_IDE) && \
+    (defined(CONFIG_IDE) && \
 	(defined(CONFIG_IDE_8xx_PCCARD) || defined(CONFIG_IDE_8xx_DIRECT) ) )
 
 #if !defined(CONFIG_PCMCIA_SLOT_A) && !defined(CONFIG_PCMCIA_SLOT_B)
@@ -268,7 +268,7 @@ extern u_int *pcmcia_pgcrx[];
 #define	PCMCIA_PGCRX(slot)	(*pcmcia_pgcrx[slot])
 #endif
 
-#if defined(CONFIG_CMD_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
+#if defined(CONFIG_IDE) && defined(CONFIG_IDE_8xx_PCCARD)
 extern int check_ide_device(int slot);
 #endif
 
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#70 lore raw

PATCH v3 34/48 Kconfig: Add a CONFIG_IDE option

Quoted 8 lines · Simon Glass

At present IDE support is controlled by CONFIG_CMD_IDE. Add a separate CONFIG_IDE option so that IDE support can be enabled without requiring the 'ide' command.

Update existing users and move the ide driver into drivers/block since it should not be in common/.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/4cb4d9a6/attachment.sig>
#71 lore raw

PATCH v3 35/48 Convert CONFIG_CMD_IMMAP to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IMMAP

Also move this command out of the cmd/ directory since it is PowerPC-specific.

---

Changes in v3: None
Changes in v2: None

 README                              | 1 -
 arch/powerpc/Kconfig                | 2 ++
 arch/powerpc/lib/Kconfig            | 8 ++++++++
 arch/powerpc/lib/Makefile           | 1 +
 {cmd => arch/powerpc/lib}/immap.c   | 0
 cmd/Makefile                        | 1 -
 configs/canmb_defconfig             | 1 +
 configs/kmcoge4_defconfig           | 1 +
 configs/kmcoge5ne_defconfig         | 1 +
 configs/kmeter1_defconfig           | 1 +
 configs/kmlion1_defconfig           | 1 +
 configs/kmopti2_defconfig           | 1 +
 configs/kmsupx5_defconfig           | 1 +
 configs/kmtegr1_defconfig           | 1 +
 configs/kmtepr2_defconfig           | 1 +
 configs/kmvect1_defconfig           | 1 +
 configs/mgcoge3ne_defconfig         | 1 +
 configs/mgcoge_defconfig            | 1 +
 configs/motionpro_defconfig         | 1 +
 configs/munices_defconfig           | 1 +
 configs/suvd3_defconfig             | 1 +
 configs/tuge1_defconfig             | 1 +
 configs/tuxx1_defconfig             | 1 +
 include/config_cmd_all.h            | 1 -
 include/configs/canmb.h             | 1 -
 include/configs/km/keymile-common.h | 1 -
 include/configs/motionpro.h         | 1 -
 include/configs/munices.h           | 1 -
 scripts/config_whitelist.txt        | 1 -
 29 files changed, 28 insertions(+), 8 deletions(-)
 create mode 100644 arch/powerpc/lib/Kconfig
 rename {cmd => arch/powerpc/lib}/immap.c (100%)
README +0 -1
index 2dafe21f0d..5f3ccbe112 100644
@@ -850,7 +850,6 @@ The following options need to be configured:
 		CONFIG_CMD_IMI		  iminfo
 		CONFIG_CMD_IMLS		  List all images found in NOR flash
 		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
-		CONFIG_CMD_IMMAP	* IMMR dump support
 		CONFIG_CMD_IOTRACE	* I/O tracing for debugging
 		CONFIG_CMD_IMPORTENV	* import an environment
 		CONFIG_CMD_INI		* import data from an ini file into the env
arch/powerpc/Kconfig +2 -0
index 3d2c1319c9..eae94c8fd5 100644
@@ -49,6 +49,8 @@ config 4xx
 
 endchoice
 
+source "arch/powerpc/lib/Kconfig"
+
 source "arch/powerpc/cpu/mpc512x/Kconfig"
 source "arch/powerpc/cpu/mpc5xx/Kconfig"
 source "arch/powerpc/cpu/mpc5xxx/Kconfig"
arch/powerpc/lib/Kconfig new file +8 -0
new file mode 100644
index 0000000000..987cec99cb
@@ -0,0 +1,8 @@
+config CMD_IMMAP
+	bool "Enable various commands to dump IMMR information"
+	help
+	  This enables various commands such as:
+
+	    siuinfo - print System Interface Unit (SIU) registers
+	    memcinfo - print Memory Controller registers
+	    sitinfo - print System Integration Timers (SIT) registers
arch/powerpc/lib/Makefile +1 -0
index 88adb26e2e..e09bd9a88a 100644
@@ -33,6 +33,7 @@ obj-$(CONFIG_BAT_RW) += bat_rw.o
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
 obj-y	+= cache.o
 obj-y	+= extable.o
+obj-$(CONFIG_CMD_IMMAP) += immap.o
 obj-y	+= interrupts.o
 obj-$(CONFIG_CMD_KGDB) += kgdb.o
 obj-$(CONFIG_IDE) += ide.o
arch/powerpc/lib/immap.c renamed from cmd/immap.c +0 -0
similarity index 100%
rename from cmd/immap.c
rename to arch/powerpc/lib/immap.c
cmd/Makefile +0 -1
index f043407656..1293d24e39 100644
@@ -68,7 +68,6 @@ obj-$(CONFIG_CMD_I2C) += i2c.o
 obj-$(CONFIG_CMD_IOTRACE) += iotrace.o
 obj-$(CONFIG_CMD_HASH) += hash.o
 obj-$(CONFIG_CMD_IDE) += ide.o disk.o
-obj-$(CONFIG_CMD_IMMAP) += immap.o
 obj-$(CONFIG_CMD_INI) += ini.o
 obj-$(CONFIG_CMD_IRQ) += irq.o
 obj-$(CONFIG_CMD_ITEST) += itest.o
configs/canmb_defconfig +1 -0
index 1f6f18d601..87eb205d0c 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC5xxx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_CANMB=y
 CONFIG_BOOTDELAY=5
 CONFIG_CMD_ASKENV=y
configs/kmcoge4_defconfig +1 -0
index 4d6718dd31..63ad7edf48 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KMP204X=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
configs/kmcoge5ne_defconfig +1 -0
index 233943c0d7..31cad022ef 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KM8360=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmeter1_defconfig +1 -0
index d92e6b2934..bb8a0fe292 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KM8360=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmlion1_defconfig +1 -0
index 13f5c1e304..e5b7ba67a4 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KMP204X=y
 CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
configs/kmopti2_defconfig +1 -0
index 0b112ffb48..9e9c0b9843 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmsupx5_defconfig +1 -0
index ba02124ccb..5235530725 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmtegr1_defconfig +1 -0
index 16b7b18062..464a125c39 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_SUVD3=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmtepr2_defconfig +1 -0
index 3f73346208..ca64a6e99e 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/kmvect1_defconfig +1 -0
index 8b9180b6a6..04a3e48d53 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_SUVD3=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/mgcoge3ne_defconfig +1 -0
index d66fffe47e..0d4a1e102d 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC8260=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KM82XX=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
configs/mgcoge_defconfig +1 -0
index c9f07d11a4..f4f8ae5452 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC8260=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_KM82XX=y
 CONFIG_FIT=y
 CONFIG_OF_BOARD_SETUP=y
configs/motionpro_defconfig +1 -0
index ab9ea81021..5521e6d01b 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC5xxx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_MOTIONPRO=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_VERSION_VARIABLE=y
configs/munices_defconfig +1 -0
index ddd5c43de2..0e2b188a51 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC5xxx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_MUNICES=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_BOOTDELAY=5
configs/suvd3_defconfig +1 -0
index 68fee8ce79..68cfe65a5e 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_SUVD3=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/tuge1_defconfig +1 -0
index a5579e4f33..3cb1404c92 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
configs/tuxx1_defconfig +1 -0
index 519472f247..18b124a58c 100644
@@ -1,5 +1,6 @@
 CONFIG_PPC=y
 CONFIG_MPC83xx=y
+CONFIG_CMD_IMMAP=y
 CONFIG_TARGET_TUXX1=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_OF_STDOUT_VIA_ALIAS=y
include/config_cmd_all.h +0 -1
index b00f96ef6e..8ab46ca47e 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_IMMAP	/* IMMR dump support		*/
 #define CONFIG_CMD_IO		/* Access to X86 IO space	*/
 #define CONFIG_CMD_IRQ		/* irqinfo			*/
 #define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
include/configs/canmb.h +0 -1
index c70979ed1a..b7c74b4264 100644
@@ -46,7 +46,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/km/keymile-common.h +0 -1
index 506ce51236..08ccaa200c 100644
@@ -13,7 +13,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MTDPARTS
 
include/configs/motionpro.h +0 -1
index 02ac7b3089..035f1dc5f9 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
include/configs/munices.h +0 -1
index 1679430951..ad2d69e6a5 100644
@@ -26,7 +26,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IMMAP
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_CMD_KGDB)
scripts/config_whitelist.txt +0 -1
index 6111c49c17..1558d73e2b 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IMMAP
 CONFIG_CMD_IMXOTP
 CONFIG_CMD_IMX_FUSE
 CONFIG_CMD_IO
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#72 lore raw

PATCH v3 35/48 Convert CONFIG_CMD_IMMAP to Kconfig

Quoted 7 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IMMAP

Also move this command out of the cmd/ directory since it is PowerPC-specific.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/dfa6b077/attachment.sig>
#73 lore raw

PATCH v3 36/48 Kconfig: Drop CONFIG_CMD_IMXOTP

In reply to Simon Glass

This option is not used in U-Boot. Drop it.

---

Changes in v3: None
Changes in v2: None

 include/configs/ot1200.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 2 files changed, 2 deletions(-)
include/configs/ot1200.h +0 -1
index 2052075a54..0582fa3688 100644
@@ -43,7 +43,6 @@
 #define CONFIG_SYS_I2C_SPEED            100000
 
 /* OCOTP Configs */
-#define CONFIG_CMD_IMXOTP
 #define CONFIG_IMX_OTP
 #define IMX_OTP_BASE                    OCOTP_BASE_ADDR
 #define IMX_OTP_ADDR_MAX                0x7F
scripts/config_whitelist.txt +0 -1
index 1558d73e2b..a8896f2304 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IMXOTP
 CONFIG_CMD_IMX_FUSE
 CONFIG_CMD_IO
 CONFIG_CMD_IOLOOP
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#74 lore raw

PATCH v3 36/48 Kconfig: Drop CONFIG_CMD_IMXOTP

Quoted 3 lines · Simon Glass

This option is not used in U-Boot. Drop it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/43adb14a/attachment.sig>
#75 lore raw

PATCH v3 37/48 Kconfig: Drop CONFIG_CMD_IMX_FUSE

In reply to Simon Glass

This option is not used in U-Boot. Drop it.

---

Changes in v3: None
Changes in v2: None

 include/configs/apf27.h      | 1 -
 scripts/config_whitelist.txt | 1 -
 2 files changed, 2 deletions(-)
include/configs/apf27.h +0 -1
index 3450751054..073f3b4fef 100644
@@ -54,7 +54,6 @@
 /*
  * U-Boot Commands
  */
-#define CONFIG_CMD_IMX_FUSE	/* imx iim fuse                 */
 #define CONFIG_CMD_MTDPARTS	/* MTD partition support	*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_NAND_LOCK_UNLOCK
scripts/config_whitelist.txt +0 -1
index a8896f2304..cdb10f9964 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IMX_FUSE
 CONFIG_CMD_IO
 CONFIG_CMD_IOLOOP
 CONFIG_CMD_IOTRACE
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#76 lore raw

PATCH v3 37/48 Kconfig: Drop CONFIG_CMD_IMX_FUSE

Quoted 3 lines · Simon Glass

This option is not used in U-Boot. Drop it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/c7ea8b5f/attachment.sig>
#77 lore raw

PATCH v3 38/48 Convert CONFIG_CMD_IO to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IO

---

Changes in v3: None
Changes in v2: None

 README                       | 1 -
 arch/Kconfig                 | 2 ++
 cmd/Kconfig                  | 8 ++++++++
 include/config_cmd_all.h     | 1 -
 include/configs/sandbox.h    | 1 -
 include/configs/x86-common.h | 1 -
 scripts/config_whitelist.txt | 1 -
 7 files changed, 10 insertions(+), 5 deletions(-)
README +0 -1
index 5f3ccbe112..f0020fbf33 100644
@@ -850,7 +850,6 @@ The following options need to be configured:
 		CONFIG_CMD_IMI		  iminfo
 		CONFIG_CMD_IMLS		  List all images found in NOR flash
 		CONFIG_CMD_IMLS_NAND	* List all images found in NAND flash
-		CONFIG_CMD_IOTRACE	* I/O tracing for debugging
 		CONFIG_CMD_IMPORTENV	* import an environment
 		CONFIG_CMD_INI		* import data from an ini file into the env
 		CONFIG_CMD_IRQ		* irqinfo
arch/Kconfig +2 -0
index 61c08fffa4..c10f0a9b71 100644
@@ -69,6 +69,7 @@ config SANDBOX
 	select DM_GPIO
 	select DM_MMC
 	imply CMD_HASH
+	imply CMD_IO
 
 config SH
 	bool "SuperH architecture"
@@ -88,6 +89,7 @@ config X86
 	select USB_EHCI_HCD
 	imply CMD_FPGA_LOADMK
 	imply CMD_GETTIME
+	imply CMD_IO
 
 config XTENSA
 	bool "Xtensa architecture"
cmd/Kconfig +8 -0
index 1268e38b59..0f54ae35f9 100644
@@ -493,6 +493,14 @@ config CMD_IDE
 	  geting device info. It also enables the 'diskboot' command which
 	  permits booting from an IDE drive.
 
+config CMD_IO
+	bool "io - Support for performing I/O accesses"
+	help
+	  Provides an 'iod' command to display I/O space and an 'iow' command
+	  to write values to the I/O space. This can be useful for manually
+	  checking the state of devices during boot when debugging device
+	  drivers, etc.
+
 config CMD_LOADB
 	bool "loadb"
 	default y
include/config_cmd_all.h +0 -1
index 8ab46ca47e..27fcc5e28d 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_IO		/* Access to X86 IO space	*/
 #define CONFIG_CMD_IRQ		/* irqinfo			*/
 #define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
 #define CONFIG_CMD_KGDB		/* kgdb				*/
include/configs/sandbox.h +0 -1
index dccfaf6a0d..8973494f9b 100644
@@ -29,7 +29,6 @@
 #define CONFIG_ANDROID_BOOT_IMAGE
 
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IO
 
 #define CONFIG_FS_FAT
 #define CONFIG_FAT_WRITE
include/configs/x86-common.h +0 -1
index e9d5f3d053..d8b3f1ad67 100644
@@ -70,7 +70,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_IO
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_SCSI
scripts/config_whitelist.txt +0 -1
index cdb10f9964..5240cfe6c5 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IO
 CONFIG_CMD_IOLOOP
 CONFIG_CMD_IOTRACE
 CONFIG_CMD_IRQ
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#78 lore raw

PATCH v3 38/48 Convert CONFIG_CMD_IO to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IO

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/9a3da851/attachment.sig>
#79 lore raw

PATCH v3 39/48 Convert CONFIG_CMD_IOLOOP to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IOLOOP

---

Changes in v3: None
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(-)
board/gdsys/mpc8308/Kconfig +5 -0
index 9a1a3a2f28..cb29c25c65 100644
@@ -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.
configs/hrcon_defconfig +1 -0
index cf89ebe145..aea06769f4 100644
@@ -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
configs/hrcon_dh_defconfig +1 -0
index c5512e71c4..8e911d49a0 100644
@@ -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
configs/strider_con_defconfig +1 -0
index 099d40714f..d293d39d7b 100644
@@ -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
configs/strider_con_dp_defconfig +1 -0
index 754db3d2d8..e0040e9e38 100644
@@ -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
configs/strider_cpu_defconfig +1 -0
index 692e883e75..7d372ffac7 100644
@@ -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
configs/strider_cpu_dp_defconfig +1 -0
index 18e33a2e6b..5d304b3f8b 100644
@@ -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
include/configs/hrcon.h +0 -2
index cfebd2d26e..405129b7e2 100644
@@ -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
  */
include/configs/strider.h +0 -2
index 539557d972..994ac73e13 100644
@@ -28,8 +28,6 @@
 
 #define CONFIG_SYS_ALT_MEMTEST
 
-#define CONFIG_CMD_IOLOOP
-
 /*
  * System Clock Setup
  */
scripts/config_whitelist.txt +0 -1
index 5240cfe6c5..8e1d61d62c 100644
@@ -383,7 +383,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
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#80 lore raw

PATCH v3 39/48 Convert CONFIG_CMD_IOLOOP to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IOLOOP

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/d8df282c/attachment.sig>
#81 lore raw

PATCH v3 40/48 Convert CONFIG_CMD_IOTRACE to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IOTRACE

---

Changes in v3: None
Changes in v2: None

 arch/Kconfig                 |  1 +
 cmd/Kconfig                  | 34 ++++++++++++++++++++++++++++++++++
 include/configs/sandbox.h    |  1 -
 scripts/config_whitelist.txt |  1 -
 4 files changed, 35 insertions(+), 2 deletions(-)
arch/Kconfig +1 -0
index c10f0a9b71..2b194b3049 100644
@@ -70,6 +70,7 @@ config SANDBOX
 	select DM_MMC
 	imply CMD_HASH
 	imply CMD_IO
+	imply CMD_IOTRACE
 
 config SH
 	bool "SuperH architecture"
cmd/Kconfig +34 -0
index 0f54ae35f9..c1e271d329 100644
@@ -501,6 +501,40 @@ config CMD_IO
 	  checking the state of devices during boot when debugging device
 	  drivers, etc.
 
+config CMD_IOTRACE
+	bool "iotrace - Support for tracing I/O activity"
+	help
+	  Provides an 'iotrace' command which supports recording I/O reads and
+	  writes in a trace buffer in memory . It also maintains a checksum
+	  of the trace records (even if space is exhausted) so that the
+	  sequence of I/O accesses can be verified.
+
+	  When debugging drivers it is useful to see what I/O accesses were
+	  done and in what order.
+
+	  Even if the individual accesses are of little interest it can be
+	  useful to verify that the access pattern is consistent each time
+	  an operation is performed. In this case a checksum can be used to
+	  characterise the operation of a driver. The checksum can be compared
+	  across different runs of the operation to verify that the driver is
+	  working properly.
+
+	  In particular, when performing major refactoring of the driver, where
+	  the access pattern should not change, the checksum provides assurance
+	  that the refactoring work has not broken the driver.
+
+	  This works by sneaking into the io.h heder for an architecture and
+	  redirecting I/O accesses through iotrace's tracing mechanism.
+
+	  For now no commands are provided to examine the trace buffer. The
+	  format is fairly simple, so 'md' is a reasonable substitute.
+
+	  Note: The checksum feature is only useful for I/O regions where the
+	  contents do not change outside of software control. Where this is not
+	  suitable you can fall back to manually comparing the addresses. It
+	  might be useful to enhance tracing to only checksum the accesses and
+	  not the data read/written.
+
 config CMD_LOADB
 	bool "loadb"
 	default y
include/configs/sandbox.h +0 -1
index 8973494f9b..d640949dd9 100644
@@ -18,7 +18,6 @@
 
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_IO_TRACE
-#define CONFIG_CMD_IOTRACE
 #endif
 
 #ifndef CONFIG_TIMER
scripts/config_whitelist.txt +0 -1
index 8e1d61d62c..083daca785 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_IOTRACE
 CONFIG_CMD_IRQ
 CONFIG_CMD_JFFS2
 CONFIG_CMD_KGDB
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#82 lore raw

PATCH v3 40/48 Convert CONFIG_CMD_IOTRACE to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IOTRACE

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/b06257d0/attachment.sig>
#83 lore raw

PATCH v3 41/48 Convert CONFIG_CMD_JFFS2 to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_JFFS2

---

Changes in v3: None
Changes in v2: None

 README                                          | 1 -
 cmd/Kconfig                                     | 8 ++++++++
 configs/M52277EVB_defconfig                     | 1 +
 configs/M52277EVB_stmicro_defconfig             | 1 +
 configs/M54455EVB_a66_defconfig                 | 1 +
 configs/M54455EVB_defconfig                     | 1 +
 configs/M54455EVB_i66_defconfig                 | 1 +
 configs/M54455EVB_intel_defconfig               | 1 +
 configs/M54455EVB_stm33_defconfig               | 1 +
 configs/MIP405T_defconfig                       | 1 +
 configs/MIP405_defconfig                        | 1 +
 configs/MiniFAP_defconfig                       | 1 +
 configs/TQM5200S_HIGHBOOT_defconfig             | 1 +
 configs/TQM5200S_defconfig                      | 1 +
 configs/TQM5200_B_HIGHBOOT_defconfig            | 1 +
 configs/TQM5200_B_defconfig                     | 1 +
 configs/TQM5200_STK100_defconfig                | 1 +
 configs/TQM5200_defconfig                       | 1 +
 configs/TQM823L_LCD_defconfig                   | 1 +
 configs/TQM823L_defconfig                       | 1 +
 configs/TQM823M_defconfig                       | 1 +
 configs/TQM834x_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/TTTech_defconfig                        | 1 +
 configs/ac14xx_defconfig                        | 1 +
 configs/am3517_crane_defconfig                  | 1 +
 configs/aria_defconfig                          | 1 +
 configs/astro_mcf5373l_defconfig                | 1 +
 configs/atngw100_defconfig                      | 1 +
 configs/atngw100mkii_defconfig                  | 1 +
 configs/atstk1002_defconfig                     | 1 +
 configs/cam5200_defconfig                       | 1 +
 configs/cam5200_niosflash_defconfig             | 1 +
 configs/charon_defconfig                        | 1 +
 configs/cm5200_defconfig                        | 1 +
 configs/devkit3250_defconfig                    | 1 +
 configs/devkit8000_defconfig                    | 1 +
 configs/dns325_defconfig                        | 1 +
 configs/dockstar_defconfig                      | 1 +
 configs/ds414_defconfig                         | 1 +
 configs/edb9315a_defconfig                      | 1 +
 configs/ethernut5_defconfig                     | 1 +
 configs/fo300_defconfig                         | 1 +
 configs/goflexhome_defconfig                    | 1 +
 configs/grasshopper_defconfig                   | 1 +
 configs/guruplug_defconfig                      | 1 +
 configs/ib62x0_defconfig                        | 1 +
 configs/iconnect_defconfig                      | 1 +
 configs/ids8313_defconfig                       | 1 +
 configs/km_kirkwood_128m16_defconfig            | 1 +
 configs/km_kirkwood_defconfig                   | 1 +
 configs/km_kirkwood_pci_defconfig               | 1 +
 configs/kmcoge4_defconfig                       | 1 +
 configs/kmcoge5ne_defconfig                     | 1 +
 configs/kmcoge5un_defconfig                     | 1 +
 configs/kmeter1_defconfig                       | 1 +
 configs/kmlion1_defconfig                       | 1 +
 configs/kmnusa_defconfig                        | 1 +
 configs/kmopti2_defconfig                       | 1 +
 configs/kmsugp1_defconfig                       | 1 +
 configs/kmsupx5_defconfig                       | 1 +
 configs/kmsuv31_defconfig                       | 1 +
 configs/kmtegr1_defconfig                       | 1 +
 configs/kmtepr2_defconfig                       | 1 +
 configs/kmvect1_defconfig                       | 1 +
 configs/mcx_defconfig                           | 1 +
 configs/mecp5123_defconfig                      | 1 +
 configs/mgcoge3ne_defconfig                     | 1 +
 configs/mgcoge3un_defconfig                     | 1 +
 configs/mgcoge_defconfig                        | 1 +
 configs/microblaze-generic_defconfig            | 1 +
 configs/motionpro_defconfig                     | 1 +
 configs/mpc5121ads_defconfig                    | 1 +
 configs/mpc5121ads_rev2_defconfig               | 1 +
 configs/ms7722se_defconfig                      | 1 +
 configs/nas220_defconfig                        | 1 +
 configs/nsa310s_defconfig                       | 1 +
 configs/omap3_evm_defconfig                     | 1 +
 configs/openrd_base_defconfig                   | 1 +
 configs/openrd_client_defconfig                 | 1 +
 configs/openrd_ultimate_defconfig               | 1 +
 configs/pcm030_LOWBOOT_defconfig                | 1 +
 configs/pcm030_defconfig                        | 1 +
 configs/pm9263_defconfig                        | 1 +
 configs/pm9g45_defconfig                        | 1 +
 configs/pogo_e02_defconfig                      | 1 +
 configs/portl2_defconfig                        | 1 +
 configs/sh7763rdp_defconfig                     | 1 +
 configs/sheevaplug_defconfig                    | 1 +
 configs/suvd3_defconfig                         | 1 +
 configs/tuge1_defconfig                         | 1 +
 configs/tuxx1_defconfig                         | 1 +
 configs/v38b_defconfig                          | 1 +
 configs/vct_platinum_onenand_defconfig          | 1 +
 configs/vct_platinum_onenand_small_defconfig    | 1 +
 configs/vct_platinumavc_onenand_defconfig       | 1 +
 configs/vct_platinumavc_onenand_small_defconfig | 1 +
 configs/vct_premium_onenand_defconfig           | 1 +
 configs/vct_premium_onenand_small_defconfig     | 1 +
 configs/wtk_defconfig                           | 1 +
 configs/xilinx-ppc405-generic_defconfig         | 1 +
 configs/xilinx-ppc440-generic_defconfig         | 1 +
 configs/xpedite1000_defconfig                   | 1 +
 configs/xpedite517x_defconfig                   | 1 +
 configs/xpedite520x_defconfig                   | 1 +
 configs/xpedite537x_defconfig                   | 1 +
 configs/xpedite550x_defconfig                   | 1 +
 include/config_cmd_all.h                        | 1 -
 include/configs/M52277EVB.h                     | 1 -
 include/configs/M54418TWR.h                     | 1 -
 include/configs/M54451EVB.h                     | 1 -
 include/configs/M54455EVB.h                     | 1 -
 include/configs/MIP405.h                        | 1 -
 include/configs/TQM5200.h                       | 1 -
 include/configs/TQM823L.h                       | 1 -
 include/configs/TQM823M.h                       | 1 -
 include/configs/TQM834x.h                       | 1 -
 include/configs/TQM850L.h                       | 1 -
 include/configs/TQM850M.h                       | 1 -
 include/configs/TQM855L.h                       | 1 -
 include/configs/TQM855M.h                       | 1 -
 include/configs/TQM860L.h                       | 1 -
 include/configs/TQM860M.h                       | 1 -
 include/configs/TQM862L.h                       | 1 -
 include/configs/TQM862M.h                       | 1 -
 include/configs/TQM866M.h                       | 1 -
 include/configs/ac14xx.h                        | 1 -
 include/configs/am3517_crane.h                  | 1 -
 include/configs/aria.h                          | 1 -
 include/configs/astro_mcf5373l.h                | 3 ---
 include/configs/atngw100.h                      | 1 -
 include/configs/atngw100mkii.h                  | 1 -
 include/configs/atstk1002.h                     | 1 -
 include/configs/cm5200.h                        | 1 -
 include/configs/devkit3250.h                    | 1 -
 include/configs/devkit8000.h                    | 1 -
 include/configs/dockstar.h                      | 1 -
 include/configs/edb93xx.h                       | 1 -
 include/configs/ethernut5.h                     | 1 -
 include/configs/grasshopper.h                   | 1 -
 include/configs/iconnect.h                      | 1 -
 include/configs/ids8313.h                       | 1 -
 include/configs/imx27lite-common.h              | 1 -
 include/configs/km/keymile-common.h             | 1 -
 include/configs/mcx.h                           | 1 -
 include/configs/mecp5123.h                      | 1 -
 include/configs/microblaze-generic.h            | 2 --
 include/configs/motionpro.h                     | 8 --------
 include/configs/mpc5121ads.h                    | 1 -
 include/configs/ms7722se.h                      | 1 -
 include/configs/mv-common.h                     | 1 -
 include/configs/nas220.h                        | 1 -
 include/configs/omap3_evm.h                     | 2 --
 include/configs/pcm030.h                        | 1 -
 include/configs/pm9263.h                        | 1 -
 include/configs/pm9g45.h                        | 1 -
 include/configs/pogo_e02.h                      | 1 -
 include/configs/sh7763rdp.h                     | 1 -
 include/configs/tricorder.h                     | 2 --
 include/configs/v38b.h                          | 1 -
 include/configs/vct.h                           | 1 -
 include/configs/xilinx-ppc.h                    | 2 --
 include/configs/xpedite1000.h                   | 1 -
 include/configs/xpedite517x.h                   | 1 -
 include/configs/xpedite520x.h                   | 1 -
 include/configs/xpedite537x.h                   | 1 -
 include/configs/xpedite550x.h                   | 1 -
 scripts/config_whitelist.txt                    | 1 -
 176 files changed, 121 insertions(+), 75 deletions(-)
README +0 -1
index f0020fbf33..c493d72fad 100644
@@ -854,7 +854,6 @@ The following options need to be configured:
 		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_JFFS2	* JFFS2 Support
 		CONFIG_CMD_KGDB		* kgdb
 		CONFIG_CMD_LDRINFO	* ldrinfo (display Blackfin loader)
 		CONFIG_CMD_LINK_LOCAL	* link-local IP address auto-configuration
cmd/Kconfig +8 -0
index c1e271d329..e4cb6c92b0 100644
@@ -1145,6 +1145,14 @@ config CMD_FS_UUID
 	help
 	  Enables fsuuid command for filesystem UUID.
 
+config CMD_JFFS2
+	bool "jffs2 command"
+	help
+	  Enables commands to support the JFFS2 (Journalling Flash File System
+	  version 2) filesystem. This enables fsload, ls and fsinfo which
+	  provide the ability to load files, list directories and obtain
+	  filesystem information.
+
 config CMD_MTDPARTS
 	depends on ARCH_SUNXI
 	bool "MTD partition support"
configs/M52277EVB_defconfig +1 -0
index e756401162..903eef536c 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_I2C=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
configs/M52277EVB_stmicro_defconfig +1 -0
index 4f9d97ee55..d657f863d0 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_I2C=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
configs/M54455EVB_a66_defconfig +1 -0
index d681d32140..221c70750b 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/M54455EVB_defconfig +1 -0
index e57323d594..557b87b78c 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/M54455EVB_i66_defconfig +1 -0
index 2a5da64a3a..9ad0564788 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/M54455EVB_intel_defconfig +1 -0
index 97024333db..dc7af6cb19 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/M54455EVB_stm33_defconfig +1 -0
index 1f5fb14402..eed2eabe68 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/MIP405T_defconfig +1 -0
index 743b74b40b..da3bbaeb14 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_BSP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/MIP405_defconfig +1 -0
index 254cd41224..461416773c 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BSP=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/MiniFAP_defconfig +1 -0
index 5d88a27180..b9cbafc887 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200S_HIGHBOOT_defconfig +1 -0
index 1b3e91f9d5..5e6f9c951f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200S_defconfig +1 -0
index 4ed119dbe7..d0c352faa1 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200_B_HIGHBOOT_defconfig +1 -0
index 2e6b4dd272..ed74408b98 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200_B_defconfig +1 -0
index 8eb3d4099e..cc9968cacb 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200_STK100_defconfig +1 -0
index 146c3bf514..35d486033b 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM5200_defconfig +1 -0
index c7bc5383ba..783c39a052 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/TQM823L_LCD_defconfig +1 -0
index 61601a5a41..ccb68b24c5 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
configs/TQM823L_defconfig +1 -0
index 89d1df4c72..c588948e11 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM823M_defconfig +1 -0
index b7c6462436..0490828504 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM834x_defconfig +1 -0
index c4b9091586..ef73ed40c8 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
configs/TQM850L_defconfig +1 -0
index 75ecade55b..0e42d8c4fe 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM850M_defconfig +1 -0
index be45efd00e..a464fe507a 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM855L_defconfig +1 -0
index b3e9325253..aa370012f5 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM855M_defconfig +1 -0
index bf1186a6cd..faab826a24 100644
@@ -12,6 +12,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM860L_defconfig +1 -0
index 978540bb1a..b18cf31ddd 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM860M_defconfig +1 -0
index 8daee064da..fe2fe6d38c 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM862L_defconfig +1 -0
index 9b7c8b8903..6f5f772d32 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM862M_defconfig +1 -0
index ffb23d3364..44307760ee 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TQM866M_defconfig +1 -0
index db70ca121e..d8922900d4 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_IDE=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_LED_STATUS=y
configs/TTTech_defconfig +1 -0
index 5b4000e266..9d26e94615 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
configs/ac14xx_defconfig +1 -0
index 930ec8acf2..6855331860 100644
@@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
configs/am3517_crane_defconfig +1 -0
index 81fec1e082..2a0987e555 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
configs/aria_defconfig +1 -0
index 0f1432f9a8..0613dd16fb 100644
@@ -9,6 +9,7 @@ CONFIG_CMD_ASKENV=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
configs/astro_mcf5373l_defconfig +1 -0
index c35222b244..888bb334bf 100644
@@ -11,4 +11,5 @@ CONFIG_CMD_FPGA_LOADMK=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
configs/atngw100_defconfig +1 -0
index 1e85f0af33..17db763867 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_SPI=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MMC=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/atngw100mkii_defconfig +1 -0
index 2fa5b6954d..887c5fb8d7 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MMC=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/atstk1002_defconfig +1 -0
index 49182e33c4..0fa7969e47 100644
@@ -17,5 +17,6 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MMC=y
 CONFIG_MTD_NOR_FLASH=y
configs/cam5200_defconfig +1 -0
index 46a24f56ab..d8a419cda2 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_BSP=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/cam5200_niosflash_defconfig +1 -0
index 6b9877ff21..d7577a44ff 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_BSP=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/charon_defconfig +1 -0
index 89a5d08541..2e4ad658e0 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/cm5200_defconfig +1 -0
index d3369f4455..860d23e553 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/devkit3250_defconfig +1 -0
index 074be13c04..79623e1be5 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y
 CONFIG_DM_GPIO=y
configs/devkit8000_defconfig +1 -0
index 7edcb08324..617228f91f 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
 CONFIG_MMC_OMAP_HS=y
configs/dns325_defconfig +1 -0
index 53be09aede..abe6a6379f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/dockstar_defconfig +1 -0
index 14eee484e0..a70458872d 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/ds414_defconfig +1 -0
index b637483720..4e17bb91a3 100644
@@ -26,6 +26,7 @@ CONFIG_CMD_PING=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_SPL_OF_TRANSLATE=y
configs/edb9315a_defconfig +1 -0
index e7b4810b5a..bb67881a25 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_DOS_PARTITION is not set
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS0=y
configs/ethernut5_defconfig +1 -0
index d5e08889d0..197052dba6 100644
@@ -28,6 +28,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SPI_FLASH=y
configs/fo300_defconfig +1 -0
index d51e31d8ed..24470f311a 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_BMP=y
 CONFIG_CMD_BSP=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
configs/goflexhome_defconfig +1 -0
index 07d88b1a36..4dfb895351 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/grasshopper_defconfig +1 -0
index 2944d73af5..024231dbc6 100644
@@ -14,4 +14,5 @@ CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
configs/guruplug_defconfig +1 -0
index 090ff03dc5..361293af53 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/ib62x0_defconfig +1 -0
index bcdf6f8dac..a8107e264d 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/iconnect_defconfig +1 -0
index 7e0b444b54..32994ec0cb 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/ids8313_defconfig +1 -0
index 2accd31229..2a8c239d69 100644
@@ -22,6 +22,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/km_kirkwood_128m16_defconfig +1 -0
index 0884688f49..df7dac8c37 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/km_kirkwood_defconfig +1 -0
index d34174db08..4b9cdb7f47 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/km_kirkwood_pci_defconfig +1 -0
index 83e9d04c4a..79952774ae 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/kmcoge4_defconfig +1 -0
index 63ad7edf48..a6ec1d8ee0 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
configs/kmcoge5ne_defconfig +1 -0
index 31cad022ef..0a22f8d204 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/kmcoge5un_defconfig +1 -0
index d41fae022c..af0df7ef22 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/kmeter1_defconfig +1 -0
index bb8a0fe292..6cbecf600f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/kmlion1_defconfig +1 -0
index e5b7ba67a4..fdb6cf63c4 100644
@@ -23,6 +23,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
configs/kmnusa_defconfig +1 -0
index cb06ba0cbf..eb70cd600a 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/kmopti2_defconfig +1 -0
index 9e9c0b9843..6874e02315 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/kmsugp1_defconfig +1 -0
index 40b5f9628c..ed90f9d5b6 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/kmsupx5_defconfig +1 -0
index 5235530725..ecd297d8c6 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/kmsuv31_defconfig +1 -0
index 242fc1a904..c5edce8e4f 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/kmtegr1_defconfig +1 -0
index 464a125c39..9e20c026fa 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
configs/kmtepr2_defconfig +1 -0
index ca64a6e99e..2c6e00e296 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/kmvect1_defconfig +1 -0
index 04a3e48d53..a0a723861f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
configs/mcx_defconfig +1 -0
index 349df80f05..09dbc781c6 100644
@@ -29,6 +29,7 @@ CONFIG_CMD_CACHE=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_MMC_OMAP_HS=y
 CONFIG_SYS_NS16550=y
configs/mecp5123_defconfig +1 -0
index db52077e1a..3937fe8b44 100644
@@ -11,6 +11,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 # CONFIG_PCI is not set
configs/mgcoge3ne_defconfig +1 -0
index 0d4a1e102d..58d6656df3 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/mgcoge3un_defconfig +1 -0
index 1fba301af8..2add8828b8 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/mgcoge_defconfig +1 -0
index f4f8ae5452..c4f39b38c7 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/microblaze-generic_defconfig +1 -0
index 131d6f5862..bcb0e88054 100644
@@ -27,6 +27,7 @@ CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
configs/motionpro_defconfig +1 -0
index 5521e6d01b..c4006bca5f 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_BEDBUG=y
 CONFIG_LED_STATUS=y
 CONFIG_LED_STATUS0=y
configs/mpc5121ads_defconfig +1 -0
index a6f65d8bac..5bb78076ad 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/mpc5121ads_rev2_defconfig +1 -0
index 022e67b249..e28fa19227 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/ms7722se_defconfig +1 -0
index cb50b46148..92f3158dae 100644
@@ -20,5 +20,6 @@ CONFIG_VERSION_VARIABLE=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/nas220_defconfig +1 -0
index abf71a5914..a57cc9724c 100644
@@ -18,6 +18,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_EFI_PARTITION=y
configs/nsa310s_defconfig +1 -0
index 74bb72ad83..2ba87642b3 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/omap3_evm_defconfig +1 -0
index 1b61d1d8b9..227f1d1ca3 100644
@@ -21,6 +21,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_EFI_PARTITION=y
 # CONFIG_PARTITION_UUIDS is not set
 # CONFIG_SPL_PARTITION_UUIDS is not set
configs/openrd_base_defconfig +1 -0
index cd3991ad15..1471872833 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_SYS_NS16550=y
configs/openrd_client_defconfig +1 -0
index db034b6ba8..b62852a10c 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_SYS_NS16550=y
configs/openrd_ultimate_defconfig +1 -0
index bf3ac8111a..d57b6962d5 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_SYS_NS16550=y
configs/pcm030_LOWBOOT_defconfig +1 -0
index 2933326e5d..0ef8750d66 100644
@@ -7,6 +7,7 @@ CONFIG_BOOTDELAY=3
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_USB=y
configs/pcm030_defconfig +1 -0
index ff9f4e9f4f..3869991f9e 100644
@@ -7,6 +7,7 @@ CONFIG_SYS_PROMPT="uboot> "
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_USB=y
configs/pm9263_defconfig +1 -0
index 92441b3c23..7cf2722740 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_USB=y
configs/pm9g45_defconfig +1 -0
index 7235922a94..954908e9aa 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_USB=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
configs/pogo_e02_defconfig +1 -0
index 7699e0c5e6..57ebc0694c 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 # CONFIG_MMC is not set
configs/portl2_defconfig +1 -0
index 0d15fb8a0c..a0faba50ff 100644
@@ -19,6 +19,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_SPI_FLASH=y
configs/sh7763rdp_defconfig +1 -0
index ec0275ee55..028616666c 100644
@@ -21,5 +21,6 @@ CONFIG_VERSION_VARIABLE=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 # CONFIG_CMD_MISC is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_USE_PRIVATE_LIBGCC=y
configs/sheevaplug_defconfig +1 -0
index 80cc62ebd6..19acc7de3c 100644
@@ -20,6 +20,7 @@ CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_ISO_PARTITION=y
 CONFIG_SYS_NS16550=y
configs/suvd3_defconfig +1 -0
index 68cfe65a5e..e5e100a950 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/tuge1_defconfig +1 -0
index 3cb1404c92..c3e5a9eace 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/tuxx1_defconfig +1 -0
index 18b124a58c..515656de1c 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/v38b_defconfig +1 -0
index 3d0065ea84..6876f6585a 100644
@@ -10,6 +10,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_MAC_PARTITION=y
 CONFIG_LED_STATUS=y
configs/vct_platinum_onenand_defconfig +1 -0
index 707ede5901..5d4cccccba 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
configs/vct_platinum_onenand_small_defconfig +1 -0
index 0e4964b5b3..5a5edd8260 100644
@@ -20,6 +20,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_SYS_NS16550=y
configs/vct_platinumavc_onenand_defconfig +1 -0
index 979c554d22..1f0a3f8b49 100644
@@ -13,6 +13,7 @@ CONFIG_CMD_I2C=y
 # CONFIG_CMD_NET is not set
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_SYS_NS16550=y
configs/vct_platinumavc_onenand_small_defconfig +1 -0
index 5b443cfbb5..9e2fcbf6d0 100644
@@ -20,6 +20,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_SYS_NS16550=y
configs/vct_premium_onenand_defconfig +1 -0
index 2a4a0552fc..ac9cf36f68 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_FAT=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 CONFIG_SYS_NS16550=y
 CONFIG_USB=y
configs/vct_premium_onenand_small_defconfig +1 -0
index 8eca0a5597..6e649ec0d7 100644
@@ -20,6 +20,7 @@ CONFIG_SYS_PROMPT="$ "
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_UBI=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_SYS_NS16550=y
configs/wtk_defconfig +1 -0
index ce3745a221..2b81535c29 100644
@@ -14,6 +14,7 @@ CONFIG_CMD_SNTP=y
 CONFIG_CMD_BMP=y
 CONFIG_CMD_DATE=y
 CONFIG_CMD_EXT2=y
+CONFIG_CMD_JFFS2=y
 CONFIG_MAC_PARTITION=y
 CONFIG_DOS_PARTITION=y
 # CONFIG_MMC is not set
configs/xilinx-ppc405-generic_defconfig +1 -0
index 6aa049c450..1f90e3db26 100644
@@ -18,6 +18,7 @@ CONFIG_LOOPW=y
 # CONFIG_CMD_NET is not set
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_OF_EMBED=y
 # CONFIG_MMC is not set
configs/xilinx-ppc440-generic_defconfig +1 -0
index c9a1e2b087..f1f723490f 100644
@@ -17,6 +17,7 @@ CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_CMD_DIAG=y
 CONFIG_OF_EMBED=y
 CONFIG_NETCONSOLE=y
configs/xpedite1000_defconfig +1 -0
index 54b74ff65f..b89e2471db 100644
@@ -15,6 +15,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
configs/xpedite517x_defconfig +1 -0
index 6457d1952b..848d27ea81 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_DS4510=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
configs/xpedite520x_defconfig +1 -0
index b6cebe9146..0fec4cf00d 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
configs/xpedite537x_defconfig +1 -0
index c575cc4121..2f3fec217c 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 CONFIG_SYS_FSL_DDR2=y
 CONFIG_DS4510=y
 # CONFIG_MMC is not set
configs/xpedite550x_defconfig +1 -0
index 785eeef875..6c478ce5ee 100644
@@ -16,6 +16,7 @@ CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_SNTP=y
 CONFIG_CMD_DATE=y
+CONFIG_CMD_JFFS2=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
include/config_cmd_all.h +0 -1
index 27fcc5e28d..34f9167cfe 100644
@@ -14,7 +14,6 @@
  */
 
 #define CONFIG_CMD_IRQ		/* irqinfo			*/
-#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
 #define CONFIG_CMD_KGDB		/* kgdb				*/
 #define CONFIG_CMD_MFSL		/* FSL support for Microblaze	*/
 #define CONFIG_CMD_MTDPARTS	/* mtd parts support		*/
include/configs/M52277EVB.h +0 -1
index 3f7c1c9988..fc9b26ff46 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #define CONFIG_HOSTNAME			M52277EVB
include/configs/M54418TWR.h +0 -1
index 7b162cccef..cb7ea8639d 100644
@@ -37,7 +37,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#undef CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_NAND
 #define CONFIG_CMD_REGINFO
 
include/configs/M54451EVB.h +0 -1
index 553e877ae7..7d6edda361 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#undef CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 /* Network configuration */
include/configs/M54455EVB.h +0 -1
index 9b6bd1025d..39ba94065a 100644
@@ -36,7 +36,6 @@
 #define CONFIG_BOOTP_HOSTNAME
 
 /* Command line configuration */
-#define CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 
include/configs/MIP405.h +0 -1
index e758f1947b..efab6457b3 100644
@@ -47,7 +47,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SAVES
include/configs/TQM5200.h +0 -1
index 8d165290eb..e1f04459c4 100644
@@ -143,7 +143,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
include/configs/TQM823L.h +0 -1
index 685cb5146e..74636b9162 100644
@@ -91,7 +91,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM823M.h +0 -1
index 88ee42fe00..6b345c427c 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM834x.h +0 -1
index a90e2ac8d9..a79dabef61 100644
@@ -273,7 +273,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/TQM850L.h +0 -1
index 621a4b1def..b4ed561544 100644
@@ -84,7 +84,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM850M.h +0 -1
index 34e9520c3c..1dc13295ff 100644
@@ -84,7 +84,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM855L.h +0 -1
index bf96d0989b..b4c3a79387 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM855M.h +0 -1
index f47b0baba0..14b76a66bc 100644
@@ -115,7 +115,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM860L.h +0 -1
index 4617740336..f55fe56abb 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM860M.h +0 -1
index 9c445fdadc..52c4d68693 100644
@@ -86,7 +86,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM862L.h +0 -1
index 7f384cda97..06981c9861 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM862M.h +0 -1
index 31392e0561..3f87d8aa11 100644
@@ -89,7 +89,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/TQM866M.h +0 -1
index baa65c0dec..975f4b76dc 100644
@@ -129,7 +129,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_NETCONSOLE
 
include/configs/ac14xx.h +0 -1
index 8b55dee498..4eb8f39aaf 100644
@@ -367,7 +367,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/am3517_crane.h +0 -1
index 5de39cf740..2230c48d75 100644
@@ -101,7 +101,6 @@
 #endif /* CONFIG_USB_AM35X */
 
 /* commands to include */
-#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 
include/configs/aria.h +0 -1
index 1564b40832..0a7ef9919e 100644
@@ -372,7 +372,6 @@
 #define CONFIG_LOADS_ECHO		1
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1
 
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/astro_mcf5373l.h +0 -3
index 084b78c1e3..61989d6bab 100644
@@ -59,9 +59,6 @@
 
 /* Define which commands should be available at u-boot command prompt */
 
-#if ENABLE_JFFS
-#define CONFIG_CMD_JFFS2
-#endif
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMDLINE_EDITING
 
include/configs/atngw100.h +0 -1
index 4c27225d84..bf13d937fb 100644
@@ -74,7 +74,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_ATMEL_USART
 #define CONFIG_MACB
include/configs/atngw100mkii.h +0 -1
index 64d7c45aad..a7f5e06c68 100644
@@ -93,7 +93,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_ATMEL_USART
 #define CONFIG_MACB
include/configs/atstk1002.h +0 -1
index 3c03ed3eb1..c8e9340af2 100644
@@ -95,7 +95,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_ATMEL_USART
 #define CONFIG_MACB
include/configs/cm5200.h +0 -1
index 3a7d826837..3777a0d863 100644
@@ -21,7 +21,6 @@
 /*
  * Supported commands
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/devkit3250.h +0 -1
index 6e95064fe1..d2133130bc 100644
@@ -110,7 +110,6 @@
 #define CONFIG_SYS_NAND_PAGE_SIZE		NAND_LARGE_BLOCK_PAGE_SIZE
 #define CONFIG_SYS_NAND_USE_FLASH_BBT
 
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 
 /*
include/configs/devkit8000.h +0 -1
index 5884d5c67c..c892b5faa9 100644
@@ -91,7 +91,6 @@
 							/* partition */
 
 /* commands to include */
-#define CONFIG_CMD_JFFS2		/* JFFS2 Support		*/
 #define CONFIG_CMD_NAND_LOCK_UNLOCK	/* nand (un)lock commands	*/
 
 #undef CONFIG_SUPPORT_RAW_INITRD
include/configs/dockstar.h +0 -1
index 2db31d3c11..3b56fd6739 100644
@@ -79,7 +79,6 @@
 /*
  * File system
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_UBIFS
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
include/configs/edb93xx.h +0 -1
index 2fc85983e0..def28f2cf1 100644
@@ -76,7 +76,6 @@
 #define CONFIG_SYS_CLK_FREQ	14745600	/* EP93xx has a 14.7456 clock */
 
 /* Monitor configuration */
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_SYS_LONGHELP			/* Enable "long" help in mon */
 #define CONFIG_SYS_CBSIZE		1024	/* Console I/O buffer size */
include/configs/ethernut5.h +0 -1
index 481051c9c6..e7f7a7cbe6 100644
@@ -84,7 +84,6 @@
 #define CONFIG_AT91_GPIO
 
 /* Command line configuration */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_CMD_NAND
 
include/configs/grasshopper.h +0 -1
index abc4214bc0..83b78907f2 100644
@@ -86,7 +86,6 @@
  * Command line configuration.
  */
 /* add useful commands */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #define CONFIG_AUTO_COMPLETE
include/configs/iconnect.h +0 -1
index 46374f2c37..bb4eb7be7b 100644
@@ -87,7 +87,6 @@
 /*
  * File system
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_UBIFS
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE
include/configs/ids8313.h +0 -1
index 5e85cc6d4c..aa3123ad82 100644
@@ -413,7 +413,6 @@
  */
 #define CONFIG_CMD_NAND
 #define CONFIG_CMDLINE_EDITING
-#define CONFIG_CMD_JFFS2
 #define CONFIG_BOOTP_SUBNETMASK
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
include/configs/imx27lite-common.h +0 -1
index b8a867c7ba..18d8d2fd3d 100644
@@ -159,7 +159,6 @@
 /*
  * U-Boot commands
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 
 
include/configs/km/keymile-common.h +0 -1
index 08ccaa200c..c2b38d8af6 100644
@@ -13,7 +13,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MTDPARTS
 
 #undef	CONFIG_WATCHDOG		/* disable platform specific watchdog */
include/configs/mcx.h +0 -1
index c70e68c5b0..bccfb9bcf5 100644
@@ -80,7 +80,6 @@
 #define CONFIG_USB_ETHER_MCS7830
 
 /* commands to include */
-#define CONFIG_CMD_JFFS2	/* JFFS2 Support		*/
 
 #define CONFIG_CMD_NAND		/* NAND support			*/
 #define CONFIG_CMD_UBIFS
include/configs/mecp5123.h +0 -1
index fcc1c68236..17a97dfc3a 100644
@@ -273,7 +273,6 @@
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	/* allow baudrate change	*/
 
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_JFFS2
 
 /*
  * Watchdog timeout = CONFIG_SYS_WATCHDOG_VALUE * 65536 / IPS clock.
include/configs/microblaze-generic.h +0 -2
index e8fe2f673c..5ae3af9e38 100644
@@ -172,7 +172,6 @@
 #define CONFIG_CMD_MFSL
 
 #if defined(FLASH)
-# define CONFIG_CMD_JFFS2
 # undef CONFIG_CMD_UBIFS
 
 # if !defined(RAMENV)
@@ -186,7 +185,6 @@
 #  define CONFIG_CMD_SAVES
 # endif
 #else
-# undef CONFIG_CMD_JFFS2
 # undef CONFIG_CMD_UBIFS
 #endif
 #endif
include/configs/motionpro.h +0 -8
index 035f1dc5f9..75633f66ef 100644
@@ -33,7 +33,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 /*
@@ -265,13 +264,6 @@
 #define LED_ON			0x00000010
 
 /*
-<<<<<<< 4ba57299158b7a7020d2bd3b8d8369884696a0ae
-=======
- * Temperature sensor
- */
-
-/*
->>>>>>> Drop digital thermometer and thermostat (DTT) drivers
  * Environment settings
  */
 #define CONFIG_ENV_IS_IN_FLASH	1
include/configs/mpc5121ads.h +0 -1
index 5c9a2d939b..e11a0e628a 100644
@@ -378,7 +378,6 @@
 #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */
 #define CONFIG_SYS_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/ms7722se.h +0 -1
index 26472e9474..de6e58a71e 100644
@@ -12,7 +12,6 @@
 #define CONFIG_CPU_SH7722	1
 #define CONFIG_MS7722SE		1
 
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_SDRAM
 
 #define CONFIG_BOOTARGS		"console=ttySC0,115200 root=1f01"
include/configs/mv-common.h +0 -1
index d000d7617a..13bd6cff3d 100644
@@ -128,7 +128,6 @@
  * File system
  */
 #ifdef CONFIG_SYS_MVFS
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_UBIFS
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
include/configs/nas220.h +0 -1
index 9ecc28811b..dfa81223c4 100644
@@ -101,7 +101,6 @@
 /*
  * File system
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_JFFS2_NAND
 #define CONFIG_JFFS2_LZO
 #define CONFIG_CMD_UBIFS
include/configs/omap3_evm.h +0 -2
index d8ca6225d6..23f081273f 100644
@@ -25,8 +25,6 @@
  * ----------------------------------------------------------------------------
  */
 
-#define CONFIG_CMD_JFFS2
-
 #define CONFIG_CMD_NAND
 
 /* ----------------------------------------------------------------------------
include/configs/pcm030.h +0 -1
index 406f3e547a..6da17be11c 100644
@@ -49,7 +49,6 @@ Serial console configuration
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
 
 #define	CONFIG_TIMESTAMP	1	/* Print image info with timestamp */
include/configs/pm9263.h +0 -1
index b220d14dd8..41d5722490 100644
@@ -226,7 +226,6 @@
 
 #endif
 
-#define CONFIG_CMD_JFFS2		1
 #define CONFIG_JFFS2_CMDLINE		1
 #define CONFIG_JFFS2_NAND		1
 #define CONFIG_JFFS2_DEV		"nand0" /* NAND device jffs2 lives on */
include/configs/pm9g45.h +0 -1
index 22b3c2e2d1..5e58b6b021 100644
@@ -69,7 +69,6 @@
  */
 #define CONFIG_CMD_NAND		1
 
-#define CONFIG_CMD_JFFS2		1
 #define CONFIG_JFFS2_CMDLINE		1
 #define CONFIG_JFFS2_NAND		1
 #define CONFIG_JFFS2_DEV		"nand0" /* NAND dev jffs2 lives on */
include/configs/pogo_e02.h +0 -1
index e62e21704c..f94e74f0fc 100644
@@ -77,7 +77,6 @@
 /*
  * File system
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_UBIFS
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
include/configs/sh7763rdp.h +0 -1
index 69073e8a66..2186f21f7a 100644
@@ -18,7 +18,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_SDRAM
-#define CONFIG_CMD_JFFS2
 
 #define CONFIG_BOOTARGS         "console=ttySC2,115200 root=1f01"
 #define CONFIG_ENV_OVERWRITE    1
include/configs/tricorder.h +0 -2
index 9bce1ac1a0..5d8f079a7a 100644
@@ -104,8 +104,6 @@
 #define CONFIG_CMD_UBIFS		/* UBIFS commands */
 #define CONFIG_LZO			/* LZO is needed for UBIFS */
 
-#undef CONFIG_CMD_JFFS2			/* JFFS2 Support */
-
 /* needed for ubi */
 #define CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE       /* needed for mtdparts commands */
include/configs/v38b.h +0 -1
index 8b2f39c910..c5c78bf54c 100644
@@ -74,7 +74,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_SDRAM
 
 #define CONFIG_TIMESTAMP		/* Print image info with timestamp */
include/configs/vct.h +0 -1
index e4ae9cdb2e..07a5d49f3b 100644
@@ -234,7 +234,6 @@ int vct_gpio_get(int pin);
  */
 #if defined(CONFIG_VCT_ONENAND)
 #define CONFIG_SYS_USE_UBI
-#define	CONFIG_CMD_JFFS2
 #define	CONFIG_RBTREE
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_MTD_PARTITIONS
include/configs/xilinx-ppc.h +0 -2
index efb3038d9a..68ae44bfa1 100644
@@ -26,7 +26,6 @@
 /*Cmd*/
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
-#undef CONFIG_CMD_JFFS2
 #undef CONFIG_CMD_MTDPARTS
 
 /*Misc*/
@@ -76,7 +75,6 @@
 #define	CONFIG_SYS_FLASH_EMPTY_INFO	1
 #define	CONFIG_SYS_MAX_FLASH_BANKS	1
 #define	CONFIG_SYS_FLASH_PROTECTION
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MTDPARTS
 #define CONFIG_MTD_DEVICE		/* needed for mtdparts commands */
 #define CONFIG_FLASH_CFI_MTD
include/configs/xpedite1000.h +0 -1
index 6d9500619e..8294001730 100644
@@ -176,7 +176,6 @@ extern void out32(unsigned int, unsigned long);
  * Command configuration
  */
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_PCI
 
 /*
include/configs/xpedite517x.h +0 -1
index 4ecceb2a9f..b604019621 100644
@@ -485,7 +485,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * Command configuration.
  */
 #define CONFIG_CMD_IRQ
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
include/configs/xpedite520x.h +0 -1
index 3e21c96bc2..2645006b37 100644
@@ -287,7 +287,6 @@
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
include/configs/xpedite537x.h +0 -1
index 526bff6cff..abbaeaad10 100644
@@ -337,7 +337,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
include/configs/xpedite550x.h +0 -1
index ee033ef01d..254fc12cf6 100644
@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 /*
  * Command configuration.
  */
-#define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_NAND
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
scripts/config_whitelist.txt +0 -1
index 083daca785..e02eace1c0 100644
@@ -384,7 +384,6 @@ CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
 CONFIG_CMD_IRQ
-CONFIG_CMD_JFFS2
 CONFIG_CMD_KGDB
 CONFIG_CMD_LOADY
 CONFIG_CMD_LZMADEC
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#84 lore raw

PATCH v3 41/48 Convert CONFIG_CMD_JFFS2 to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_JFFS2

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/38daa3d1/attachment.sig>
#85 lore raw

PATCH v3 42/48 fs: Kconfig: Add a separate option for FS_JFFS2

In reply to Simon Glass

Rather than using CMD_JFFS2 for both the filesystem and its command, we should have a separate option for each. This allows us to enable JFFS2 support without the command, if desired, which reduces U-Boot's size slightly.

---

Changes in v3: None
Changes in v2: None

 cmd/Kconfig      | 1 +
 cmd/cramfs.c     | 4 ++--
 doc/README.JFFS2 | 3 +++
 fs/Makefile      | 2 +-
 fs/jffs2/Kconfig | 7 +++++++
 5 files changed, 14 insertions(+), 3 deletions(-)
cmd/Kconfig +1 -0
index e4cb6c92b0..be6b314c26 100644
@@ -1147,6 +1147,7 @@ config CMD_FS_UUID
 
 config CMD_JFFS2
 	bool "jffs2 command"
+	select FS_JFFS2
 	help
 	  Enables commands to support the JFFS2 (Journalling Flash File System
 	  version 2) filesystem. This enables fsload, ls and fsinfo which
cmd/cramfs.c +2 -2
index 4e75de8f29..49ee36c74a 100644
@@ -39,7 +39,7 @@
 # define OFFSET_ADJUSTMENT	(flash_info[id.num].start[0])
 #endif
 
-#ifndef CONFIG_CMD_JFFS2
+#ifndef CONFIG_FS_JFFS2
 #include <linux/stat.h>
 char *mkmodestr(unsigned long mode, char *str)
 {
@@ -70,7 +70,7 @@ char *mkmodestr(unsigned long mode, char *str)
 	str[10] = '\0';
 	return str;
 }
-#endif /* CONFIG_CMD_JFFS2 */
+#endif /* CONFIG_FS_JFFS2 */
 
 extern int cramfs_check (struct part_info *info);
 extern int cramfs_load (char *loadoffset, struct part_info *info, char *filename);
doc/README.JFFS2 +3 -0
index 604e5b9686..0245da0488 100644
@@ -10,6 +10,9 @@ fsinfo  - print information about file systems
 ls      - list files in a directory
 chpart  - change active partition
 
+If you do now need the commands, you can enable the filesystem separately
+with CONFIG_FS_JFFS2 and call the jffs2 functions yourself.
+
 If you boot from a partition which is mounted writable, and you
 update your boot environment by replacing single files on that
 partition, you should also define CONFIG_SYS_JFFS2_SORT_FRAGMENTS. Scanning
fs/Makefile +1 -1
index 5c90656ba1..5770f41c0b 100644
@@ -16,7 +16,7 @@ obj-$(CONFIG_FS_CBFS) += cbfs/
 obj-$(CONFIG_CMD_CRAMFS) += cramfs/
 obj-$(CONFIG_FS_EXT4) += ext4/
 obj-y += fat/
-obj-$(CONFIG_CMD_JFFS2) += jffs2/
+obj-$(CONFIG_FS_JFFS2) += jffs2/
 obj-$(CONFIG_CMD_REISER) += reiserfs/
 obj-$(CONFIG_SANDBOX) += sandbox/
 obj-$(CONFIG_CMD_UBIFS) += ubifs/
fs/jffs2/Kconfig +7 -0
index e69de29bb2..1b9ecdd8cc 100644
@@ -0,0 +1,7 @@
+config FS_JFFS2
+	bool "Enable JFFS2 filesystem support"
+	help
+	  This provides support for reading images from JFFS2 (Journalling
+	  Flash File System version 2). JFFS2 is a log-structured file system
+	  for use with flash memory devices. It supports raw NAND devices,
+	  hard links and compression.
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#86 lore raw

PATCH v3 42/48 fs: Kconfig: Add a separate option for FS_JFFS2

Quoted 6 lines · Simon Glass

Rather than using CMD_JFFS2 for both the filesystem and its command, we should have a separate option for each. This allows us to enable JFFS2 support without the command, if desired, which reduces U-Boot's size slightly.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/b7a10b2a/attachment.sig>
#87 lore raw

PATCH v3 43/48 Convert CONFIG_CMD_IRQ to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IRQ

---

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(-)
README +0 -1
index c493d72fad..8ced3abda2 100644
@@ -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)
arch/Kconfig +3 -0
index 2b194b3049..069f0f5f2c 100644
@@ -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"
cmd/Kconfig +8 -0
index be6b314c26..d875f9cf36 100644
@@ -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
configs/TQM823L_LCD_defconfig +1 -0
index ccb68b24c5..5c3fc9b83d 100644
@@ -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
configs/TQM823L_defconfig +1 -0
index c588948e11..8c4c28ef54 100644
@@ -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
configs/TQM823M_defconfig +1 -0
index 0490828504..d1a3a15c99 100644
@@ -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
configs/TQM850L_defconfig +1 -0
index 0e42d8c4fe..e3026bd374 100644
@@ -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
configs/TQM850M_defconfig +1 -0
index a464fe507a..eda7e69fc9 100644
@@ -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
configs/TQM855L_defconfig +1 -0
index aa370012f5..203dd7cc27 100644
@@ -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
configs/TQM855M_defconfig +1 -0
index faab826a24..f787a2768f 100644
@@ -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
configs/TQM860L_defconfig +1 -0
index b18cf31ddd..fffdd08a3b 100644
@@ -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
configs/TQM860M_defconfig +1 -0
index fe2fe6d38c..6003b8842a 100644
@@ -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
configs/TQM862L_defconfig +1 -0
index 6f5f772d32..a2abe6e487 100644
@@ -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
configs/TQM862M_defconfig +1 -0
index 44307760ee..8cdeb0ec85 100644
@@ -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
configs/TQM866M_defconfig +1 -0
index d8922900d4..088cc3b33f 100644
@@ -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
configs/TQM885D_defconfig +1 -0
index 48421e3cfe..e4d98a3d36 100644
@@ -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
configs/TTTech_defconfig +1 -0
index 9d26e94615..caaaa5bcae 100644
@@ -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
configs/ac14xx_defconfig +1 -0
index 6855331860..092c38ca36 100644
@@ -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
configs/aria_defconfig +1 -0
index 0613dd16fb..39dc563a83 100644
@@ -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
configs/mecp5123_defconfig +1 -0
index 3937fe8b44..919c75080b 100644
@@ -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
configs/mpc5121ads_defconfig +1 -0
index 5bb78076ad..41bc5a4144 100644
@@ -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
configs/mpc5121ads_rev2_defconfig +1 -0
index e28fa19227..6af4d46d7c 100644
@@ -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
configs/pdm360ng_defconfig +1 -0
index 4ef0df1aa8..1ed47d2da8 100644
@@ -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
configs/wtk_defconfig +1 -0
index 2b81535c29..bea85df807 100644
@@ -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
include/config_cmd_all.h +0 -1
index 34f9167cfe..df21c1a483 100644
@@ -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		*/
include/configs/B4860QDS.h +0 -1
index 377b8998a4..6085724a65 100644
@@ -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
include/configs/BSC9131RDB.h +0 -1
index 65d8f126b2..5e81d18e8e 100644
@@ -293,7 +293,6 @@ extern unsigned long get_sdram_size(void);
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/BSC9132QDS.h +0 -1
index 59da85d0c9..9254442874 100644
@@ -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 */
include/configs/C29XPCIE.h +0 -1
index eaa42545fc..f539cde5ba 100644
@@ -436,7 +436,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /* Hash command with SHA acceleration supported in hardware */
include/configs/CPCI2DP.h +0 -1
index 561ff894b3..6d2919ff55 100644
@@ -46,7 +46,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
include/configs/CPCI4052.h +0 -1
index c444198778..ab4b060906 100644
@@ -61,7 +61,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 
 #define CONFIG_SUPPORT_VFAT
 
include/configs/MIP405.h +0 -1
index efab6457b3..b13809f88a 100644
@@ -46,7 +46,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SAVES
include/configs/MPC8349ITX.h +0 -1
index 7cf27fa96d..46f09d6b60 100644
@@ -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) \
include/configs/MPC8536DS.h +0 -2
index 8375ead394..18b6b4e13e 100644
@@ -589,8 +589,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/MPC8540ADS.h +0 -1
index c5d581589a..0f96ac0242 100644
@@ -315,7 +315,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #if defined(CONFIG_PCI)
     #define CONFIG_CMD_PCI
include/configs/MPC8541CDS.h +0 -1
index 4509a6d707..029aa572ce 100644
@@ -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)
include/configs/MPC8544DS.h +0 -1
index b186e012d3..9b2f8364d5 100644
@@ -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)
include/configs/MPC8548CDS.h +0 -1
index df50fa3cce..43e05516ab 100644
@@ -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)
include/configs/MPC8555CDS.h +0 -1
index 67093dfa31..96a125c323 100644
@@ -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)
include/configs/MPC8560ADS.h +0 -1
index 8170b9f17d..8d026addb3 100644
@@ -354,7 +354,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/MPC8568MDS.h +0 -1
index 0bc71d4ae6..618d5377fc 100644
@@ -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)
include/configs/MPC8569MDS.h +0 -1
index 81d2d4f931..eb7db20b7f 100644
@@ -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)
include/configs/MPC8572DS.h +0 -1
index 59f1cc7c8d..79e11bb6f8 100644
@@ -547,7 +547,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #if defined(CONFIG_PCI)
include/configs/P1010RDB.h +0 -1
index 9c12c5d21a..0333ff9e08 100644
@@ -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 */
include/configs/P1022DS.h +0 -1
index 2d1564a835..3d12c84ce9 100644
@@ -593,7 +593,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
include/configs/P1023RDB.h +0 -1
index 8821be3410..719043d5a1 100644
@@ -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)
include/configs/P2041RDB.h +0 -1
index 92dcd2c418..17d8b228b4 100644
@@ -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
include/configs/PATI.h +0 -1
index 1b2cb3dd22..1f26ac4c2d 100644
@@ -38,7 +38,6 @@
  */
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_REGINFO
-#define CONFIG_CMD_IRQ
 
 #define CONFIG_BOOTCOMMAND	""	/* autoboot command			*/
 
include/configs/PIP405.h +0 -1
index 029de2a1a9..393a02dd78 100644
@@ -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
include/configs/PLU405.h +0 -1
index ef20eee201..78ce91d089 100644
@@ -55,7 +55,6 @@
  * Command line configuration.
  */
 #define CONFIG_CMD_PCI
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_NAND
 
 #define CONFIG_SUPPORT_VFAT
include/configs/PMC405DE.h +0 -1
index 2f05a5a176..a94e790b95 100644
@@ -48,7 +48,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 
 #undef  CONFIG_WATCHDOG			/* watchdog disabled */
include/configs/T102xQDS.h +0 -1
index d97ec0ef95..5449d2e5d7 100644
@@ -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
include/configs/T102xRDB.h +0 -1
index 99537d58e6..21c6dbbbcb 100644
@@ -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
include/configs/T1040QDS.h +0 -1
index 977b7b6d63..5ec1e23337 100644
@@ -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
include/configs/T104xRDB.h +0 -1
index fa691b5883..e8338ccfa6 100644
@@ -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
include/configs/T208xQDS.h +0 -1
index 1ca13b595d..105e905960 100644
@@ -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
include/configs/T4240RDB.h +0 -1
index e2f1863bdc..38973cbdf3 100644
@@ -272,7 +272,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
include/configs/UCP1020.h +0 -2
index 9cede19d4f..b2feccfd39 100644
@@ -421,8 +421,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/VOM405.h +0 -1
index 5255b6d688..a180b381cf 100644
@@ -53,7 +53,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #undef	CONFIG_WATCHDOG			/* watchdog disabled		*/
 
include/configs/amcc-common.h +0 -1
index eca90cf750..450a2ebc11 100644
@@ -51,7 +51,6 @@
  */
 #if defined(CONFIG_440)
 #endif
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/controlcenterd.h +0 -1
index 40117b9a7f..3d59e98ea2 100644
@@ -343,7 +343,6 @@
 
 #ifndef CONFIG_TRAILBLAZER
 
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/corenet_ds.h +0 -1
index 64ae67e592..e88d09255f 100644
@@ -593,7 +593,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
include/configs/cyrus.h +0 -1
index 9210770d7b..a23da191ab 100644
@@ -411,7 +411,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 #ifdef CONFIG_PCI
include/configs/digsy_mtc.h +0 -1
index 7800e81116..6710507a8d 100644
@@ -85,7 +85,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SAVES
include/configs/dlvision-10g.h +0 -1
index 5597e27516..aa91bf5513 100644
@@ -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])
include/configs/dlvision.h +0 -1
index e5a8b3232d..ac0cd2c0db 100644
@@ -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])
include/configs/io.h +0 -1
index 767acf2773..98d2fb551d 100644
@@ -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])
include/configs/iocon.h +0 -1
index 0d81ac1b2f..e95cd70d71 100644
@@ -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])
include/configs/ipek01.h +0 -1
index 485b989b4a..c6390dbdbe 100644
@@ -88,7 +88,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ		/* irqinfo */
 #define CONFIG_CMD_PCI		/* pciinfo */
 
 #define CONFIG_SYS_LOWBOOT	1
include/configs/lwmon5.h +0 -1
index f36ec3d3f8..8971096a98 100644
@@ -381,7 +381,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 #define CONFIG_CMD_SDRAM
 
include/configs/microblaze-generic.h +0 -1
index 5ae3af9e38..9aa4945f49 100644
@@ -168,7 +168,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_MFSL
 
 #if defined(FLASH)
include/configs/neo.h +0 -1
index 609f7e17ee..345ee0c68a 100644
@@ -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])
include/configs/p1_p2_rdb_pc.h +0 -1
index 24f751c839..71b4f40921 100644
@@ -813,7 +813,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_REGINFO
 
 /*
include/configs/p1_twr.h +0 -1
index a6501520f5..fd644f22da 100644
@@ -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
 
 /*
include/configs/qemu-ppce500.h +0 -1
index ffd776f6bf..c26810723e 100644
@@ -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
include/configs/t4qds.h +0 -1
index f4f9a38b2c..260cdee001 100644
@@ -241,7 +241,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 
 #ifdef CONFIG_PCI
 #define CONFIG_CMD_PCI
include/configs/v38b.h +0 -1
index c5c78bf54c..2bd6cc11ae 100644
@@ -73,7 +73,6 @@
 /*
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_SDRAM
 
 #define CONFIG_TIMESTAMP		/* Print image info with timestamp */
include/configs/vct.h +0 -1
index 07a5d49f3b..c5b96540ae 100644
@@ -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
include/configs/x86-common.h +0 -1
index d8b3f1ad67..b5ef8b5c56 100644
@@ -70,7 +70,6 @@
 /*-----------------------------------------------------------------------
  * Command line configuration.
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 #define CONFIG_SCSI
 
include/configs/xilinx-ppc.h +0 -1
index 68ae44bfa1..e8a0c1c33d 100644
@@ -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
 
include/configs/xpedite1000.h +0 -1
index 8294001730..93afb2062f 100644
@@ -175,7 +175,6 @@ extern void out32(unsigned int, unsigned long);
 /*
  * Command configuration
  */
-#define CONFIG_CMD_IRQ
 #define CONFIG_CMD_PCI
 
 /*
include/configs/xpedite517x.h +0 -1
index b604019621..07f26544fd 100644
@@ -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
scripts/config_whitelist.txt +0 -1
index e02eace1c0..f6bd39fc53 100644
@@ -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
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#88 lore raw

PATCH v3 43/48 Convert CONFIG_CMD_IRQ to Kconfig

Quoted 5 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_IRQ

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/4f4ded65/attachment.sig>
#89 lore raw

PATCH v3 44/48 Convert CONFIG_CMD_KGDB to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_KGDB

---

Changes in v3: None
Changes in v2: None

 README                       | 1 -
 cmd/Kconfig                  | 9 +++++++++
 include/config_cmd_all.h     | 1 -
 scripts/config_whitelist.txt | 1 -
 4 files changed, 9 insertions(+), 3 deletions(-)
README +0 -1
index 8ced3abda2..879ae8b33b 100644
@@ -853,7 +853,6 @@ The following options need to be configured:
 		CONFIG_CMD_IMPORTENV	* import an environment
 		CONFIG_CMD_INI		* import data from an ini file into the env
 		CONFIG_CMD_ITEST	  Integer/string test of 2 values
-		CONFIG_CMD_KGDB		* kgdb
 		CONFIG_CMD_LDRINFO	* ldrinfo (display Blackfin loader)
 		CONFIG_CMD_LINK_LOCAL	* link-local IP address auto-configuration
 					  (169.254.*.*)
cmd/Kconfig +9 -0
index d875f9cf36..d691142c82 100644
@@ -1200,6 +1200,15 @@ config CMD_IRQ
 
 	     interrupts - enable or disable interrupts
 	     irqinfo - print device-specific interrupt information
+
+config CMD_KGDB
+	bool "kgdb - Allow debugging of U-Boot with gdb"
+	help
+	  This enables a 'kgdb' command which allows gdb to connect to U-Boot
+	  over a serial link for debugging purposes. This allows
+	  single-stepping, inspecting variables, etc. This is supported only
+	  on PowerPC at present.
+
 endmenu
 
 config CMD_UBI
include/config_cmd_all.h +0 -1
index df21c1a483..b1f41abf4f 100644
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_KGDB		/* kgdb				*/
 #define CONFIG_CMD_MFSL		/* FSL support for Microblaze	*/
 #define CONFIG_CMD_MTDPARTS	/* mtd parts support		*/
 #define CONFIG_CMD_NAND		/* NAND support			*/
scripts/config_whitelist.txt +0 -1
index f6bd39fc53..1d529bdf2c 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_KGDB
 CONFIG_CMD_LOADY
 CONFIG_CMD_LZMADEC
 CONFIG_CMD_MAX6957
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#90 lore raw

PATCH v3 44/48 Convert CONFIG_CMD_KGDB to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_KGDB

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/9c4dc234/attachment.sig>
#91 lore raw

PATCH v3 45/48 Kconfig: Drop CONFIG_CMD_LOADY

In reply to Simon Glass

This is not used in U-Boot. Drop it.

---

Changes in v3: None
Changes in v2: None

 include/configs/vct.h        | 1 -
 scripts/config_whitelist.txt | 1 -
 2 files changed, 2 deletions(-)
include/configs/vct.h +0 -1
index c5b96540ae..7b04e65d70 100644
@@ -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_LOADY
 #undef CONFIG_CMD_REGINFO
 #undef CONFIG_CMD_STRINGS
 #undef CONFIG_CMD_TERMINAL
scripts/config_whitelist.txt +0 -1
index 1d529bdf2c..6ea6f73f42 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_LOADY
 CONFIG_CMD_LZMADEC
 CONFIG_CMD_MAX6957
 CONFIG_CMD_MEM
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#92 lore raw

PATCH v3 45/48 Kconfig: Drop CONFIG_CMD_LOADY

Quoted 3 lines · Simon Glass

This is not used in U-Boot. Drop it.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/c5efe297/attachment.sig>
#93 lore raw

PATCH v3 46/48 Convert CONFIG_LZMA to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_LZMA

---

Changes in v3: None
Changes in v2: None

 README                           | 23 -----------------------
 arch/Kconfig                     |  1 +
 configs/ap121_defconfig          |  1 +
 configs/ap143_defconfig          |  1 +
 configs/guruplug_defconfig       |  1 +
 configs/ib62x0_defconfig         |  1 +
 configs/iconnect_defconfig       |  1 +
 configs/nsa310s_defconfig        |  1 +
 configs/qemu_mips64_defconfig    |  1 +
 configs/qemu_mips64el_defconfig  |  1 +
 configs/qemu_mips_defconfig      |  1 +
 configs/qemu_mipsel_defconfig    |  1 +
 configs/sheevaplug_defconfig     |  1 +
 configs/tplink_wdr4300_defconfig |  1 +
 configs/zipitz2_defconfig        |  1 +
 include/configs/ap121.h          |  1 -
 include/configs/ap143.h          |  1 -
 include/configs/ib62x0.h         |  1 -
 include/configs/iconnect.h       |  1 -
 include/configs/mv-plug-common.h |  1 -
 include/configs/nsa310s.h        |  1 -
 include/configs/qemu-mips.h      |  2 --
 include/configs/qemu-mips64.h    |  2 --
 include/configs/sandbox.h        |  1 -
 include/configs/tplink_wdr4300.h |  1 -
 include/configs/zipitz2.h        |  1 -
 lib/Kconfig                      |  8 ++++++++
 scripts/config_whitelist.txt     |  1 -
 28 files changed, 22 insertions(+), 37 deletions(-)
README +0 -23
index 879ae8b33b..3e4ec984b7 100644
@@ -1723,29 +1723,6 @@ The following options need to be configured:
 		the malloc area (as defined by CONFIG_SYS_MALLOC_LEN) should
 		be at least 4MB.
 
-		CONFIG_LZMA
-
-		If this option is set, support for lzma compressed
-		images is included.
-
-		Note: The LZMA algorithm adds between 2 and 4KB of code and it
-		requires an amount of dynamic memory that is given by the
-		formula:
-
-			(1846 + 768 << (lc + lp)) * sizeof(uint16)
-
-		Where lc and lp stand for, respectively, Literal context bits
-		and Literal pos bits.
-
-		This value is upper-bounded by 14MB in the worst case. Anyway,
-		for a ~4MB large kernel image, we have lc=3 and lp=0 for a
-		total amount of (1846 + 768 << (3 + 0)) * 2 = ~41KB... that is
-		a very small buffer.
-
-		Use the lzmainfo tool to determinate the lc and lp values and
-		then calculate the amount of needed dynamic memory (ensuring
-		the appropriate CONFIG_SYS_MALLOC_LEN value).
-
 		CONFIG_LZO
 
 		If this option is set, support for LZO compressed images
arch/Kconfig +1 -0
index 069f0f5f2c..92bb53acf8 100644
@@ -73,6 +73,7 @@ config SANDBOX
 	imply CMD_HASH
 	imply CMD_IO
 	imply CMD_IOTRACE
+	imply LZMA
 
 config SH
 	bool "SuperH architecture"
configs/ap121_defconfig +1 -0
index 2550aeecb7..40055f04d8 100644
@@ -50,3 +50,4 @@ CONFIG_DEBUG_UART_BOARD_INIT=y
 CONFIG_AR933X_UART=y
 CONFIG_DM_SPI=y
 CONFIG_ATH79_SPI=y
+CONFIG_LZMA=y
configs/ap143_defconfig +1 -0
index 0753221d7f..05f1699748 100644
@@ -46,3 +46,4 @@ CONFIG_DEBUG_UART_BOARD_INIT=y
 CONFIG_SYS_NS16550=y
 CONFIG_DM_SPI=y
 CONFIG_ATH79_SPI=y
+CONFIG_LZMA=y
configs/guruplug_defconfig +1 -0
index 361293af53..570819d3e5 100644
@@ -27,4 +27,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
configs/ib62x0_defconfig +1 -0
index a8107e264d..cc9011d05c 100644
@@ -26,4 +26,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
configs/iconnect_defconfig +1 -0
index 32994ec0cb..3e48380bc7 100644
@@ -21,4 +21,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
configs/nsa310s_defconfig +1 -0
index 2ba87642b3..ae39818e4b 100644
@@ -25,4 +25,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
configs/qemu_mips64_defconfig +1 -0
index 45513be56f..6835cf1c5c 100644
@@ -15,3 +15,4 @@ CONFIG_CMD_FAT=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
+CONFIG_LZMA=y
configs/qemu_mips64el_defconfig +1 -0
index 5f6ea3e2e7..60bd6164fc 100644
@@ -16,3 +16,4 @@ CONFIG_CMD_FAT=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
+CONFIG_LZMA=y
configs/qemu_mips_defconfig +1 -0
index b87b0c571c..c6f08b4efb 100644
@@ -13,3 +13,4 @@ CONFIG_CMD_FAT=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
+CONFIG_LZMA=y
configs/qemu_mipsel_defconfig +1 -0
index 281cf667da..b8c206971d 100644
@@ -14,3 +14,4 @@ CONFIG_CMD_FAT=y
 # CONFIG_ISO_PARTITION is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_SYS_NS16550=y
+CONFIG_LZMA=y
configs/sheevaplug_defconfig +1 -0
index 19acc7de3c..ac7217dcba 100644
@@ -27,4 +27,5 @@ CONFIG_SYS_NS16550=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
configs/tplink_wdr4300_defconfig +1 -0
index 3c7e6ff4ba..65314df133 100644
@@ -45,3 +45,4 @@ CONFIG_DM_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_STORAGE=y
+CONFIG_LZMA=y
configs/zipitz2_defconfig +1 -0
index 06e915c1dc..0b38f2b1af 100644
@@ -19,5 +19,6 @@ CONFIG_PXA_SERIAL=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_LCD=y
+CONFIG_LZMA=y
 CONFIG_OF_LIBFDT=y
 # CONFIG_EFI_LOADER is not set
include/configs/ap121.h +0 -1
index 8ae3c77942..2284b8bc66 100644
@@ -33,7 +33,6 @@
 #define CONFIG_BOOTCOMMAND              "sf probe;" \
 					"mtdparts default;" \
 					"bootm 0x9f650000"
-#define CONFIG_LZMA
 
 #define MTDIDS_DEFAULT                  "nor0=spi-flash.0"
 #define MTDPARTS_DEFAULT                "mtdparts=spi-flash.0:" \
include/configs/ap143.h +0 -1
index a2c31a2fd5..2950783097 100644
@@ -37,7 +37,6 @@
 #define CONFIG_BOOTCOMMAND              "sf probe;" \
 					"mtdparts default;" \
 					"bootm 0x9f680000"
-#define CONFIG_LZMA
 
 #define MTDIDS_DEFAULT                  "nor0=spi-flash.0"
 #define MTDPARTS_DEFAULT                "mtdparts=spi-flash.0:" \
include/configs/ib62x0.h +0 -1
index 0b92d7b2ca..a5782f3300 100644
@@ -23,7 +23,6 @@
  * Compression configuration
  */
 #define CONFIG_BZIP2
-#define CONFIG_LZMA
 
 /*
  * Commands configuration
include/configs/iconnect.h +0 -1
index bb4eb7be7b..63e50606d7 100644
@@ -25,7 +25,6 @@
  * Compression configuration
  */
 #define CONFIG_BZIP2
-#define CONFIG_LZMA
 #define CONFIG_LZO
 
 /*
include/configs/mv-plug-common.h +0 -1
index 90ad0a654b..a2f68ad70a 100644
@@ -22,7 +22,6 @@
  */
 #ifdef CONFIG_SYS_MVFS
 #define CONFIG_BZIP2
-#define CONFIG_LZMA
 #endif /* CONFIG_SYS_MVFS */
 
 /*
include/configs/nsa310s.h +0 -1
index 9b99b0e44f..bc67270af7 100644
@@ -21,7 +21,6 @@
 
 /* compression configuration */
 #define CONFIG_BZIP2
-#define CONFIG_LZMA
 
 /* commands configuration */
 #define CONFIG_SYS_MVFS
include/configs/qemu-mips.h +0 -2
index aeaf88a686..abdc93c7d2 100644
@@ -121,6 +121,4 @@
 
 #define MEM_SIZE		128
 
-#define CONFIG_LZMA
-
 #endif /* __CONFIG_H */
include/configs/qemu-mips64.h +0 -2
index d201c848ff..f1e096fddd 100644
@@ -121,6 +121,4 @@
 
 #define MEM_SIZE		128
 
-#define CONFIG_LZMA
-
 #endif /* __CONFIG_H */
include/configs/sandbox.h +0 -1
index d640949dd9..5a04ce98e7 100644
@@ -153,7 +153,6 @@
 #define CONFIG_GZIP_COMPRESSED
 #define CONFIG_BZIP2
 #define CONFIG_LZO
-#define CONFIG_LZMA
 
 #define CONFIG_CMD_LZMADEC
 
include/configs/tplink_wdr4300.h +0 -1
index d39dd92198..fc99dbd91e 100644
@@ -36,7 +36,6 @@
 	"console=ttyS0,115200 root=/dev/mtdblock2 rootfstype=squashfs"
 #define CONFIG_BOOTCOMMAND		\
 	"dhcp 192.168.1.1:wdr4300.fit && bootm $loadaddr"
-#define CONFIG_LZMA
 
 #define CONFIG_ENV_IS_NOWHERE
 #define CONFIG_ENV_SIZE			0x10000
include/configs/zipitz2.h +0 -1
index 8a745e5097..9b3769b5f1 100644
@@ -42,7 +42,6 @@
 #define	CONFIG_CMDLINE_TAG
 #define	CONFIG_SETUP_MEMORY_TAGS
 #define	CONFIG_SYS_TEXT_BASE		0x0
-#define	CONFIG_LZMA			/* LZMA compression support */
 
 /*
  * Serial Console Configuration
lib/Kconfig +8 -0
index db0915153c..09670f031c 100644
@@ -148,6 +148,14 @@ config LZ4
 	  frame format currently (2015) implemented in the Linux kernel
 	  (generated by 'lz4 -l'). The two formats are incompatible.
 
+config LZMA
+	bool "Enable LZMA decompression support"
+	help
+	  This enables support for LZMA (Lempel-Ziv-Markov chain algorithm),
+	  a dictionary compression algorithm that provides a high compression
+	  ratio and fairly fast decompression speed. See also
+	  CONFIG_CMD_LZMADEC which provides a decode command.
+
 config LZO
 	bool
 endmenu
scripts/config_whitelist.txt +0 -1
index 6ea6f73f42..79e6161d4d 100644
@@ -1576,7 +1576,6 @@ CONFIG_LUAN
 CONFIG_LWMON5
 CONFIG_LXT971_NO_SLEEP
 CONFIG_LYNXKDI
-CONFIG_LZMA
 CONFIG_M41T94_SPI_CS
 CONFIG_M520x
 CONFIG_M52277EVB
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#94 lore raw

PATCH v3 46/48 Convert CONFIG_LZMA to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_LZMA

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/5c891723/attachment.sig>
#95 lore raw

PATCH v3 47/48 Convert CONFIG_CMD_LZMADEC to Kconfig

In reply to Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_LZMADEC

---

Changes in v3: None
Changes in v2: None

 arch/Kconfig                 |  1 +
 cmd/Kconfig                  | 11 +++++++++++
 cmd/Makefile                 |  2 --
 include/configs/sandbox.h    |  2 --
 scripts/config_whitelist.txt |  1 -
 5 files changed, 12 insertions(+), 5 deletions(-)
arch/Kconfig +1 -0
index 92bb53acf8..dfc4659648 100644
@@ -74,6 +74,7 @@ config SANDBOX
 	imply CMD_IO
 	imply CMD_IOTRACE
 	imply LZMA
+	imply CMD_LZMADEC
 
 config SH
 	bool "SuperH architecture"
cmd/Kconfig +11 -0
index d691142c82..1e70ac4ecc 100644
@@ -438,6 +438,17 @@ config CMD_MEMINFO
 	help
 	  Display memory information.
 
+endmenu
+
+menu "Compression commands"
+
+config CMD_LZMADEC
+	bool "lzmadec"
+	select LZMA
+	help
+	  Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm)
+	  image from memory.
+
 config CMD_UNZIP
 	bool "unzip"
 	help
cmd/Makefile +0 -2
index 1293d24e39..9ea56e9977 100644
@@ -127,9 +127,7 @@ obj-$(CONFIG_CMD_UBI) += ubi.o
 obj-$(CONFIG_CMD_UBIFS) += ubifs.o
 obj-$(CONFIG_CMD_UNIVERSE) += universe.o
 obj-$(CONFIG_CMD_UNZIP) += unzip.o
-ifdef CONFIG_LZMA
 obj-$(CONFIG_CMD_LZMADEC) += lzmadec.o
-endif
 
 obj-$(CONFIG_CMD_USB) += usb.o disk.o
 obj-$(CONFIG_CMD_FASTBOOT) += fastboot.o
include/configs/sandbox.h +0 -2
index 5a04ce98e7..1a7e5a3210 100644
@@ -154,8 +154,6 @@
 #define CONFIG_BZIP2
 #define CONFIG_LZO
 
-#define CONFIG_CMD_LZMADEC
-
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_SYS_IDE_MAXBUS		1
 #define CONFIG_SYS_ATA_IDE0_OFFSET	0
scripts/config_whitelist.txt +0 -1
index 79e6161d4d..8a58bfeecc 100644
@@ -383,7 +383,6 @@ CONFIG_CM922T_XA10
 CONFIG_CMDLINE_EDITING
 CONFIG_CMDLINE_PS_SUPPORT
 CONFIG_CMDLINE_TAG
-CONFIG_CMD_LZMADEC
 CONFIG_CMD_MAX6957
 CONFIG_CMD_MEM
 CONFIG_CMD_MFSL
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#96 lore raw

PATCH v3 47/48 Convert CONFIG_CMD_LZMADEC to Kconfig

Quoted 4 lines · Simon Glass

This converts the following to Kconfig:
CONFIG_CMD_LZMADEC

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/c36f0d75/attachment.sig>
#97 lore raw

PATCH v3 48/48 sandbox: Enable CMD_GETTIME

In reply to Simon Glass

Enable this option by default on sandbox to increase build coverage.

---

Changes in v3: None
Changes in v2:
- Add new patch to enable CMD_GETTIME on sandbox

 arch/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/Kconfig +1 -0
index dfc4659648..12fa614e81 100644
@@ -70,6 +70,7 @@ config SANDBOX
 	select DM_SPI
 	select DM_GPIO
 	select DM_MMC
+	imply CMD_GETTIME
 	imply CMD_HASH
 	imply CMD_IO
 	imply CMD_IOTRACE
Signature · 1 line
2.13.0.303.g4ebf302169-goog
#98 lore raw

PATCH v3 48/48 sandbox: Enable CMD_GETTIME

Quoted 3 lines · Simon Glass

Enable this option by default on sandbox to increase build coverage.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170522/5ce66bb8/attachment.sig>