From: Heiko Schocher Date: Wed, 20 Jan 2010 08:05:32 +0000 (+0100) Subject: 83xx, kmeter1: fix compile error X-Git-Tag: v2010.03-rc1~104^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8b1760ed9a35a5fd71d1f64981068ca2979f1e3d;p=oweals%2Fu-boot.git 83xx, kmeter1: fix compile error - delete double MTDIDS_DEFAULT and MTDPARTS_DEFAULT defines in board config file. - add mising CONFIG_KM_UBI_PARTITION_NAME define Signed-off-by: Heiko Schocher Signed-off-by: Kim Phillips --- diff --git a/include/configs/kmeter1.h b/include/configs/kmeter1.h index 71658d8b23..0327b971b5 100644 --- a/include/configs/kmeter1.h +++ b/include/configs/kmeter1.h @@ -33,6 +33,8 @@ /* include common defines/options for all Keymile boards */ #include "keymile-common.h" +#define CONFIG_KM_UBI_PARTITION_NAME "ubi0" + #define MTDIDS_DEFAULT "nor0=boot" #define MTDPARTS_DEFAULT \ "mtdparts=boot:768k(u-boot),128k(env),128k(envred)," \ @@ -449,11 +451,6 @@ #define CONFIG_PRAM 512 /* protected RAM [KBytes] */ -#define MTDIDS_DEFAULT "nor2=app" -#define MTDPARTS_DEFAULT \ - "mtdparts=app:256k(u-boot),128k(env),128k(envred)," \ - "1536k(esw0),8704k(rootfs0),1536k(esw1),2432k(rootfs1),640k(var),768k(cfg)" - /* * Environment Configuration */