By changing the cmd_mtdparts to only use the MTD infrastructure and
not the direct interface to the CFI NOR FLASH driver we now need
to add the MTD infrastructure to all boards using those mtdparts
commands. This patch adds those components:
CONFIG_MTD_DEVICE (for all FLASH types)
plus
CONFIG_FLASH_CFI_MTD (for NOR FLASH)
To all board maintainers: Please test this on your platforms and
report any problems/issues found. Thanks.
Signed-off-by: Stefan Roese s...@denx.de
Cc: Wolfgang Denk w...@denx.de
Cc: Ron Madrid i...@sheldoninst.com
Cc: Georg Schardt scha...@team-ctech.de
Cc: Michal Simek mon...@monstr.eu
Cc: Ladislav Michl la...@linux-mips.org
Cc: Martin Krause martin.kra...@tqs.de
Cc: Gary Jennejohn g...@denx.de
Cc: Ricardo Ribalda ricardo.riba...@uam.es
---
include/configs/BC3450.h |2 ++
include/configs/FPS850L.h|2 ++
include/configs/FPS860L.h|2 ++
include/configs/SIMPC8313.h |1 +
include/configs/TB5200.h |2 ++
include/configs/TQM5200.h|2 ++
include/configs/TQM823L.h|2 ++
include/configs/TQM823M.h|2 ++
include/configs/TQM834x.h|2 ++
include/configs/TQM850L.h|2 ++
include/configs/TQM850M.h|2 ++
include/configs/TQM855L.h|2 ++
include/configs/TQM855M.h|2 ++
include/configs/TQM85xx.h|2 ++
include/configs/TQM860L.h|2 ++
include/configs/TQM860M.h|2 ++
include/configs/TQM862L.h|2 ++
include/configs/TQM862M.h|2 ++
include/configs/TQM866M.h|2 ++
include/configs/apollon.h|1 +
include/configs/cm5200.h |2 ++
include/configs/fx12mm.h |2 ++
include/configs/idmr.h |2 ++
include/configs/microblaze-generic.h |2 ++
include/configs/motionpro.h |2 ++
include/configs/mx1fs2.h |2 ++
include/configs/netstar.h|2 ++
include/configs/omap3_beagle.h |1 +
include/configs/qong.h |2 ++
include/configs/smmaco4.h|2 ++
include/configs/trab.h |2 ++
include/configs/vct.h|1 +
include/configs/virtlab2.h |2 ++
include/configs/voiceblue.h |2 ++
include/configs/xilinx-ppc.h |2 ++
35 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/include/configs/BC3450.h b/include/configs/BC3450.h
index 9934f29..8c5a742 100644
--- a/include/configs/BC3450.h
+++ b/include/configs/BC3450.h
@@ -347,6 +347,8 @@
/* Dynamic MTD partition support */
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT nor0=TQM5200-0
#define MTDPARTS_DEFAULT mtdparts=TQM5200-0:640k(firmware),\
1408k(kernel),\
diff --git a/include/configs/FPS850L.h b/include/configs/FPS850L.h
index f152230..aceecd8 100644
--- a/include/configs/FPS850L.h
+++ b/include/configs/FPS850L.h
@@ -217,6 +217,8 @@
* Dynamic MTD partition support
*/
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT nor0=TQM8xxL-0
#define MTDPARTS_DEFAULT mtdparts=TQM8xxL-0:256k(u-boot), \
diff --git a/include/configs/FPS860L.h b/include/configs/FPS860L.h
index 5eaed84..4a61d7c 100644
--- a/include/configs/FPS860L.h
+++ b/include/configs/FPS860L.h
@@ -217,6 +217,8 @@
* Dynamic MTD partition support
*/
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT nor0=TQM8xxL-0
#define MTDPARTS_DEFAULT mtdparts=TQM8xxL-0:256k(u-boot), \
diff --git a/include/configs/SIMPC8313.h b/include/configs/SIMPC8313.h
index 88ea7c7..8d1e95b 100644
--- a/include/configs/SIMPC8313.h
+++ b/include/configs/SIMPC8313.h
@@ -190,6 +190,7 @@
/* mtdparts command line support */
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
#define MTDIDS_DEFAULT nand0=nand0
#define MTDPARTS_DEFAULT mtdparts=nand0:2M(u-boot),6M(kernel),-(jffs2)
diff --git a/include/configs/TB5200.h b/include/configs/TB5200.h
index 92b4fa5..3438aba 100644
--- a/include/configs/TB5200.h
+++ b/include/configs/TB5200.h
@@ -276,6 +276,8 @@
/* Dynamic MTD partition support */
#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT nor0=TQM5200-0
#if defined(CONFIG_TQM5200_B)
#define MTDPARTS_DEFAULT mtdparts=TQM5200-0:768k(firmware),\
diff --git a/include/configs/TQM5200.h