From patchwork Tue Aug 5 10:11:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Roger Quadros X-Patchwork-Id: 34907 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 921F320523 for ; Tue, 5 Aug 2014 10:12:56 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf3558300iga.2 for ; Tue, 05 Aug 2014 03:12:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=Pj9igxx2ZOvka8Ngj1zUMVJh1etfhSzfCwzjnpKztuQ=; b=P8THvDUpKUw9BTnXTM7llHVoNlKsrXRE/bu0VphfypaL9NivOmcYDmKaYCFqY6wkGU iSiVm2sVgzzZeTt3DhDPbDmjqxzbG4M1v3JyzYhudaFTBaiPcb73A7abjGw/f6uILCpO kxkUB5NxCouCdmqH8DQ4vbAuWObi+dLrb5/BxlT3hcdzDSQTq6tFLU22N5zAnMRAI0xJ OIUbygmWcrTPoBGJTL8XO0Vji285iqpEv8h88vnIr+p1B2EmPc+JjjQ135ILUYkPppHz 55h9wJHKsF64a4ru/1eT+kcC3wsM5bG1EryqnQgFpOdNqBYojvimEFj9Ee0TSgV3EoR9 4QuA== X-Gm-Message-State: ALoCoQnRU6Suzro7yLxaiIvt5Uc+pIi19yQWx5s1miENoKGqmquZeY67bZJAzC0+gShd65x8bERS X-Received: by 10.42.85.142 with SMTP id q14mr2086263icl.16.1407233576102; Tue, 05 Aug 2014 03:12:56 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.84.35 with SMTP id k32ls207625qgd.73.gmail; Tue, 05 Aug 2014 03:12:56 -0700 (PDT) X-Received: by 10.52.238.227 with SMTP id vn3mr1800725vdc.47.1407233576015; Tue, 05 Aug 2014 03:12:56 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id sb6si736220veb.66.2014.08.05.03.12.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 05 Aug 2014 03:12:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so1059412vcb.16 for ; Tue, 05 Aug 2014 03:12:55 -0700 (PDT) X-Received: by 10.52.129.165 with SMTP id nx5mr1818947vdb.25.1407233575909; Tue, 05 Aug 2014 03:12:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp372245vcb; Tue, 5 Aug 2014 03:12:55 -0700 (PDT) X-Received: by 10.68.251.201 with SMTP id zm9mr3203649pbc.22.1407233574982; Tue, 05 Aug 2014 03:12:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df8si713834pdb.326.2014.08.05.03.12.54 for ; Tue, 05 Aug 2014 03:12:54 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933220AbaHEKMs (ORCPT + 21 others); Tue, 5 Aug 2014 06:12:48 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:51613 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933193AbaHEKMp (ORCPT ); Tue, 5 Aug 2014 06:12:45 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id s75ABfWq009448; Tue, 5 Aug 2014 05:11:41 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s75ABf8p029490; Tue, 5 Aug 2014 05:11:41 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.174.1; Tue, 5 Aug 2014 05:11:40 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id s75ABRXR030519; Tue, 5 Aug 2014 05:11:38 -0500 From: Roger Quadros To: , CC: , , , , , , , , , Roger Quadros Subject: [PATCH 3/3] ARM: dts: omap3430-sdp: Revert to using software ECC for NAND Date: Tue, 5 Aug 2014 13:11:22 +0300 Message-ID: <1407233482-11642-4-git-send-email-rogerq@ti.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1407233482-11642-1-git-send-email-rogerq@ti.com> References: <1407233482-11642-1-git-send-email-rogerq@ti.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: rogerq@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , For v3.14 and prior, 1-bit Hamming code ECC via software was used for NAND on this board. Commit c06c52701695 in v3.15 changed the behaviour to use 1-bit Hamming code via Hardware using a different ECC layout i.e. (ROM code layout) than what is used by software ECC. This ECC layout change causes NAND filesystems created in v3.14 and prior to be unusable in v3.15 and later. So revert back to using software ECC scheme. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3430-sdp.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3430-sdp.dts b/arch/arm/boot/dts/omap3430-sdp.dts index 02f69f4..9bad94e 100644 --- a/arch/arm/boot/dts/omap3430-sdp.dts +++ b/arch/arm/boot/dts/omap3430-sdp.dts @@ -107,7 +107,7 @@ #address-cells = <1>; #size-cells = <1>; reg = <1 0 0x08000000>; - ti,nand-ecc-opt = "ham1"; + ti,nand-ecc-opt = "sw"; nand-bus-width = <8>; gpmc,cs-on-ns = <0>; gpmc,cs-rd-off-ns = <36>;