summaryrefslogtreecommitdiff
path: root/include/configs/cm5200.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/cm5200.h')
-rw-r--r--include/configs/cm5200.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/cm5200.h b/include/configs/cm5200.h
index 54cf40d..72cf941 100644
--- a/include/configs/cm5200.h
+++ b/include/configs/cm5200.h
@@ -223,6 +223,8 @@
* MTD configuration
*/
#define CONFIG_CMD_MTDPARTS 1
+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
+#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT "nor0=cm5200-0"
#define MTDPARTS_DEFAULT "mtdparts=cm5200-0:" \
"384k(uboot),128k(env)," \