
This is because kmp204x.h does not have FLASH, so this must not be defined for all powerpc boards.
Signed-off-by: Valentin Longchamp valentin.longchamp@keymile.com --- include/configs/km/km-powerpc.h | 1 - include/configs/km/km83xx-common.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/configs/km/km-powerpc.h b/include/configs/km/km-powerpc.h index b84f12d..33b3c9e 100644 --- a/include/configs/km/km-powerpc.h +++ b/include/configs/km/km-powerpc.h @@ -40,7 +40,6 @@ #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10
#define CONFIG_ENV_SIZE 0x04000 /* Size of Environment */ -#define CONFIG_FLASH_CFI_MTD
#define CONFIG_SYS_MEMTEST_START 0x00100000 /* memtest works on */
diff --git a/include/configs/km/km83xx-common.h b/include/configs/km/km83xx-common.h index cdfa83a..a0e69e4 100644 --- a/include/configs/km/km83xx-common.h +++ b/include/configs/km/km83xx-common.h @@ -15,6 +15,8 @@ #include "keymile-common.h" #include "km-powerpc.h"
+#define CONFIG_FLASH_CFI_MTD + #ifndef MTDIDS_DEFAULT # define MTDIDS_DEFAULT "nor0=boot" #endif /* MTDIDS_DEFAULT */