From 4cf84ccbaf4ebecb6ce2f4026195b22bb5d376cb Mon Sep 17 00:00:00 2001
From: Bill Pringlemeir <bpringlemeir@nbsps.com>
Date: Wed, 3 Dec 2014 13:40:58 -0500
Subject: [PATCH] arm: vf610: Remove duplicate MTD defines.

Some MTD defines are repeated twice; once with UBI and then with MTD.
Remove the duplicate MTD defines from the UBI grouping.

Signed-off-by: Bill Pringlemeir <bpringlemeir@nbsps.com>
---
 include/configs/vf610twr.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/configs/vf610twr.h b/include/configs/vf610twr.h
index bd79e81062..05bc7d0d9e 100644
--- a/include/configs/vf610twr.h
+++ b/include/configs/vf610twr.h
@@ -60,11 +60,8 @@
 /* UBI */
 #define CONFIG_CMD_UBI
 #define CONFIG_CMD_UBIFS
-#define CONFIG_CMD_MTDPARTS
 #define CONFIG_RBTREE
 #define CONFIG_LZO
-#define CONFIG_MTD_DEVICE
-#define CONFIG_MTD_PARTITIONS
 
 /* Dynamic MTD partition support */
 #define CONFIG_CMD_MTDPARTS
-- 
2.39.5