From patchwork Sat Nov 28 11:14:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 7716871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7E5319F3CD for ; Sat, 28 Nov 2015 11:17:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1A9B5205FE for ; Sat, 28 Nov 2015 11:17:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C4E4205F9 for ; Sat, 28 Nov 2015 11:17:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a2dTP-0005Kr-68; Sat, 28 Nov 2015 11:15:23 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a2dSj-00044x-Ig for linux-arm-kernel@lists.infradead.org; Sat, 28 Nov 2015 11:14:44 +0000 Received: by wmuu63 with SMTP id u63so79062592wmu.0 for ; Sat, 28 Nov 2015 03:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sdPKVwuAxtz3FzafuB0A+OduycFRjUh8lxQfSagF+i4=; b=o3xLjDKtzDk4xZl37Q/zhoW8goym1I9CWTfDYT/NaBsFXKADhn1Hm0r6jlMfIqP2oH sUZqLVNo5t4Q99NEPDLCmdr0IG09w2dYzyEad4rieVmpBAJD+H4msZ6EKBSzvorgpHhv DQUtxzJw3JTJrYcKxWavr+wT8l4q2eEjzrEsGofeehP+u6iOm39zai0XCHXUeuDW8nRm f1iGTgsSbJoImWtmkqfAqr2df2aQB6ZIuc9SK+ticGECaP/gWegC4QbSTZUYki8J+Uly Ay0MAsv9Ddcqx/h1eHbjeabPz9s6WzGXzVKLNBohZ83w10jp9CPeDEbjJcwUSQJWbY4X bHcw== X-Received: by 10.194.249.69 with SMTP id ys5mr58252301wjc.97.1448709259905; Sat, 28 Nov 2015 03:14:19 -0800 (PST) Received: from topkick.lan (x55b0ef74.dyn.telefonica.de. [85.176.239.116]) by smtp.gmail.com with ESMTPSA id a186sm11696673wmh.4.2015.11.28.03.14.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Nov 2015 03:14:18 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 4/4] ARM: dt: mvebu: ix4-300d: Add ECC properties to NAND flash Date: Sat, 28 Nov 2015 12:14:08 +0100 Message-Id: <1448709248-21177-5-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1448709248-21177-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1448709248-21177-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151128_031441_851193_BC1F9D8B X-CRM114-Status: GOOD ( 10.21 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Andrew Lunn , Russell King , Jason Cooper , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Kumar Gala , Gregory Clement , Benoit Masson , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The NAND device found on Lenovo ix4-300d uses 4-bit BCH ECC protection. Add the corresponding properties to the NAND node. Signed-off-by: Sebastian Hesselbarth Acked-by: Andrew Lunn --- Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Cc: Russell King Cc: Benoit Masson Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts index 13cf69a8d0fb..e4bf83c4bd2f 100644 --- a/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts +++ b/arch/arm/boot/dts/armada-xp-lenovo-ix4-300d.dts @@ -150,6 +150,8 @@ marvell,nand-keep-config; marvell,nand-enable-arbiter; nand-on-flash-bbt; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; partitions { #address-cells = <1>;