From: Valentin Longchamp Date: Wed, 28 Aug 2013 16:04:20 +0200 Subject: [U-Boot] [PATCH v2 02/11] km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h In-Reply-To: <1377698669-6149-1-git-send-email-valentin.longchamp@keymile.com> References: <1377698669-6149-1-git-send-email-valentin.longchamp@keymile.com> Message-ID: <1377698669-6149-3-git-send-email-valentin.longchamp@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This is because kmp204x.h does not have FLASH, so this must not be defined for all powerpc boards. Signed-off-by: Valentin Longchamp --- Changes in v2: None 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 */ -- 1.8.0.1