From patchwork Mon Jul 2 12:27:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nikita Kiryanov X-Patchwork-Id: 168587 X-Patchwork-Delegate: trini@ti.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 B621E2C0094 for ; Mon, 2 Jul 2012 22:29:05 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 09F87280AD; Mon, 2 Jul 2012 14:29:04 +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 Q6VSHJ-zimgg; Mon, 2 Jul 2012 14:29:03 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 577512809C; Mon, 2 Jul 2012 14:29:02 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A9DD22809C for ; Mon, 2 Jul 2012 14:28:59 +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 UplS6AXQE8Hc for ; Mon, 2 Jul 2012 14:28:58 +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 compulab.co.il (softlayer.compulab.co.il [50.23.254.55]) by theia.denx.de (Postfix) with ESMTPS id 4D85B28093 for ; Mon, 2 Jul 2012 14:28:56 +0200 (CEST) Received: from [62.90.235.247] (port=46661 helo=zimbra-mta.compulab.co.il) by softlayer.compulab.co.il with esmtp (Exim 4.77) (envelope-from ) id 1SlfkM-00068u-K1 for u-boot@lists.denx.de; Mon, 02 Jul 2012 15:28:54 +0300 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra-mta.compulab.co.il (Postfix) with ESMTP id 101FA644198 for ; Mon, 2 Jul 2012 15:28:54 +0300 (IDT) X-Virus-Scanned: amavisd-new at compulab.co.il Received: from zimbra-mta.compulab.co.il ([127.0.0.1]) by localhost (zimbra-mta.compulab.co.il [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XBcSYsAOkRog; Mon, 2 Jul 2012 15:28:52 +0300 (IDT) Received: from Nikita-PC (nikita-pc.compulab.local [192.168.11.210]) by zimbra-mta.compulab.co.il (Postfix) with ESMTPS id B59A8644192; Mon, 2 Jul 2012 15:28:52 +0300 (IDT) Received: from nikita by Nikita-PC with local (Exim 4.72) (envelope-from ) id 1SlfjU-0004ta-8E; Mon, 02 Jul 2012 15:28:00 +0300 From: Nikita Kiryanov To: u-boot@lists.denx.de Date: Mon, 2 Jul 2012 15:27:59 +0300 Message-Id: <1341232079-18791-1-git-send-email-nikita@compulab.co.il> X-Mailer: git-send-email 1.7.1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - softlayer.compulab.co.il X-AntiAbuse: Original Domain - lists.denx.de X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - compulab.co.il Subject: [U-Boot] [PATCH] cm-t35: fix incorrect NAND_ECC layout selection 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 The current configuration selects an incorrect NAND ECC layout, which causes u-boot to write HW ECC data incorrectly. This patch selects the right layout. Signed-off-by: Nikita Kiryanov --- include/configs/cm_t35.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h index 1419f06..e0dd3fb 100644 --- a/include/configs/cm_t35.h +++ b/include/configs/cm_t35.h @@ -174,7 +174,7 @@ #define CONFIG_SYS_NAND_BASE NAND_BASE /* physical address */ /* to access nand at */ /* CS0 */ -#define GPMC_NAND_ECC_LP_x16_LAYOUT +#define GPMC_NAND_ECC_LP_x8_LAYOUT #define CONFIG_SYS_MAX_NAND_DEVICE 1 /* Max number of NAND */ /* devices */