diff options
Diffstat (limited to 'include/configs/km/km83xx-common.h')
| -rw-r--r-- | include/configs/km/km83xx-common.h | 11 | 
1 files changed, 8 insertions, 3 deletions
| diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h index 06ecb8a3e..2c266fae1 100644 --- a/include/configs/km/km83xx-common.h +++ b/include/configs/km/km83xx-common.h @@ -15,13 +15,18 @@  #include "keymile-common.h"  #include "km-powerpc.h" -#define MTDIDS_DEFAULT		"nor0=boot" -#define MTDPARTS_DEFAULT	"mtdparts="			\ +#ifndef MTDIDS_DEFAULT +# define MTDIDS_DEFAULT	"nor0=boot" +#endif /* MTDIDS_DEFAULT */ + +#ifndef MTDPARTS_DEFAULT +# define MTDPARTS_DEFAULT	"mtdparts="			\  	"boot:"							\  		"768k(u-boot),"					\  		"128k(env),"					\  		"128k(envred),"					\ -		"-(" CONFIG_KM_UBI_PARTITION_NAME ")" +		"-(" CONFIG_KM_UBI_PARTITION_NAME_BOOT ");" +#endif /* MTDPARTS_DEFAULT */  #define CONFIG_MISC_INIT_R  /* |