From patchwork Fri Dec 17 23:59:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: York Sun X-Patchwork-Id: 76044 X-Patchwork-Delegate: galak@kernel.crashing.org 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 B5B8EB6F07 for ; Sat, 18 Dec 2010 11:00:33 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 06B1B2827B; Sat, 18 Dec 2010 01:00:26 +0100 (CET) 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 8LGbQ2pLeAWC; Sat, 18 Dec 2010 01:00:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 14D7D2828F; Sat, 18 Dec 2010 01:00:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 07A992828C for ; Sat, 18 Dec 2010 01:00:07 +0100 (CET) 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 dGIGmZenNorm for ; Sat, 18 Dec 2010 01:00:01 +0100 (CET) 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 TX2EHSOBE004.bigfish.com (tx2ehsobe002.messaging.microsoft.com [65.55.88.12]) by theia.denx.de (Postfix) with ESMTPS id 0512828241 for ; Sat, 18 Dec 2010 00:59:49 +0100 (CET) Received: from mail124-tx2-R.bigfish.com (10.9.14.240) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.8; Fri, 17 Dec 2010 23:59:47 +0000 Received: from mail124-tx2 (localhost.localdomain [127.0.0.1]) by mail124-tx2-R.bigfish.com (Postfix) with ESMTP id B84CA18E033A for ; Fri, 17 Dec 2010 23:59:47 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: KIP:(null); UIP:(null); IPVD:NLI; H:de01egw01.freescale.net; RD:de01egw01.freescale.net; EFVD:NLI Received: from mail124-tx2 (localhost.localdomain [127.0.0.1]) by mail124-tx2 (MessageSwitch) id 1292630387656485_4753; Fri, 17 Dec 2010 23:59:47 +0000 (UTC) Received: from TX2EHSMHS005.bigfish.com (unknown [10.9.14.241]) by mail124-tx2.bigfish.com (Postfix) with ESMTP id 9D26C115004F for ; Fri, 17 Dec 2010 23:59:47 +0000 (UTC) Received: from de01egw01.freescale.net (192.88.165.102) by TX2EHSMHS005.bigfish.com (10.9.99.105) with Microsoft SMTP Server (TLS) id 14.1.225.8; Fri, 17 Dec 2010 23:59:47 +0000 Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by de01egw01.freescale.net (8.14.3/8.14.3) with ESMTP id oBI02GSd018743 for ; Fri, 17 Dec 2010 17:02:16 -0700 (MST) Received: from localhost.localdomain (mvp-10-214-72-28.am.freescale.net [10.214.72.28]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id oBHNxfEb007303; Fri, 17 Dec 2010 17:59:45 -0600 (CST) From: York Sun To: Date: Fri, 17 Dec 2010 15:59:36 -0800 Message-ID: <1292630381-23022-4-git-send-email-yorksun@freescale.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1292630381-23022-1-git-send-email-yorksun@freescale.com> References: <1292630381-23022-1-git-send-email-yorksun@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Subject: [U-Boot] [PATCH v2 4/9] corenet_ds: Enable ECC for corenet_ds X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de ECC can be turned on/off by hwconfig without recompiling. So enable it by default. Signed-off-by: York Sun --- include/configs/corenet_ds.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h index 454a30a..49f0a26 100644 --- a/include/configs/corenet_ds.h +++ b/include/configs/corenet_ds.h @@ -76,7 +76,7 @@ #define CONFIG_BACKSIDE_L2_CACHE #define CONFIG_SYS_INIT_L2CSR0 L2CSR0_L2E #define CONFIG_BTB /* toggle branch predition */ -/*#define CONFIG_DDR_ECC*/ +#define CONFIG_DDR_ECC #ifdef CONFIG_DDR_ECC #define CONFIG_ECC_INIT_VIA_DDRCONTROLLER #define CONFIG_MEM_INIT_VALUE 0xdeadbeef