From patchwork Fri Jul 26 10:02:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Longchamp X-Patchwork-Id: 262109 X-Patchwork-Delegate: yorksun@freescale.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 55EE92C00D9 for ; Fri, 26 Jul 2013 20:03:41 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id BD99B4A052; Fri, 26 Jul 2013 12:03:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g4TG0ZzFPV7J; Fri, 26 Jul 2013 12:03:25 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CBD1D4A053; Fri, 26 Jul 2013 12:03:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 91ADB4A02C for ; Fri, 26 Jul 2013 12:02:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RX1xGMj1jR8P for ; Fri, 26 Jul 2013 12:02:54 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-de.keymile.com (mail-de.keymile.com [195.8.104.250]) by theia.denx.de (Postfix) with ESMTPS id 36A764A021 for ; Fri, 26 Jul 2013 12:02:42 +0200 (CEST) Received: from frodo.de.keymile.net ([10.9.1.54]:58478 helo=mailrelay.de.keymile.net) by mail-de.keymile.com with esmtp (Exim 4.76) (envelope-from ) id 1V2er9-0001yR-0G; Fri, 26 Jul 2013 12:02:39 +0200 Received: from chber1-10533x.keymile.net (chber1-10533x.keymile.net [172.31.40.3]) by mailrelay.de.keymile.net (8.12.2/8.12.2) with ESMTP id r6QA0RnX021955; Fri, 26 Jul 2013 12:00:28 +0200 (MEST) From: Valentin Longchamp To: Andy Fleming Date: Fri, 26 Jul 2013 12:02:29 +0200 Message-Id: <1374832955-4544-3-git-send-email-valentin.longchamp@keymile.com> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1374832955-4544-1-git-send-email-valentin.longchamp@keymile.com> References: <1374832955-4544-1-git-send-email-valentin.longchamp@keymile.com> Cc: U-Boot Mailing List , Holger Brunck , Valentin Longchamp Subject: [U-Boot] [PATCH v1 2/8] km-powerpc: move CONFIG_FLASH_CFI_MTD to km83xx-common.h X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@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 --- 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 */