From patchwork Fri Apr 8 10:23:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 8782691 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 8F89B9FD6F for ; Fri, 8 Apr 2016 10:26:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C06322026D for ; Fri, 8 Apr 2016 10:26:40 +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 CD8A32028D for ; Fri, 8 Apr 2016 10:26:39 +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 1aoTb6-0001MR-0t; Fri, 08 Apr 2016 10:25:04 +0000 Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aoTac-000153-3q; Fri, 08 Apr 2016 10:24:36 +0000 Received: by mail-lb0-x22d.google.com with SMTP id u8so66606742lbk.0; Fri, 08 Apr 2016 03:24:13 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=rrtlyt9m5D5LxFeSv72NSzjV7NPX39oDARhVMXHV13I=; b=Tcm0Vaf9R/aWzKkp4MOUIH2+cflJiN5qHz32aIUsMYb1y1kkAewuCFMuOgo0cffQbc MML+MENE3XpAGnT9MfUIc0N0WK6NIK2LI4oWkJb6hJcmFHm1qOMDgZp9+VTYzLuPrIQb iFcZgNFDyNtdizFlrgSsomWQhV0KdDGTI2MU5axH0leYczUrmbswsjYKAjXqTLtOG2/X OP/mct80DSTHXmf8jMj1vtQUvoZfWh8OUq8QpJ+221RYi3jzrH/NnTIM/I5jEZ4E2++1 MIUnB5plfOKZS1RzP5us+IRGsWlmmWM47e+XYDXLMqohl5hdYwNGLkXz8kDMigZiXZ4/ nZkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rrtlyt9m5D5LxFeSv72NSzjV7NPX39oDARhVMXHV13I=; b=EDQ1VGS7M5fSQ4v1qmKySJ239t+3/NS6IVUHHrFvLugrWipltVyX9mU2uf1BAiaJwI xevz9LN1HMUfzsuvilHxVzw3XDMYoy3mLJSHZPsM2SJSfoN0RhgoaTb7tIC+EeFZWMuc BfdjoQy9J2+4Jo+m8GTcTL25Exy03HEJEF7Hps+68jZujWY8Rs40X4f9QzzgW61cG9+O oHyLQ16+nwrXfXoj5I+H7YJKIk+yr3j3gwEjL7cnc2LI0USysl5zUdex9CgF2aKRk6Yh R158JszmbpJfc2lP6XBt3f9TgTLMDbo1ge3ZGlyxTuGbuVO8+xOLRnaobk79uUxmlyl3 3JQw== X-Gm-Message-State: AD7BkJIqCT2kh21dO2QdNZE3dgVFQD2dgrg6LDvWCtNRbrEau3F30rxzoQ/jZsd94xyCeQ== X-Received: by 10.112.167.228 with SMTP id zr4mr3354514lbb.74.1460111052255; Fri, 08 Apr 2016 03:24:12 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id y77sm1921998lfd.15.2016.04.08.03.24.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Apr 2016 03:24:11 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Boris Brezillon Subject: [PATCH 4/8] mtd: nand: nuc900: set ECC algorithm explicitly Date: Fri, 8 Apr 2016 12:23:47 +0200 Message-Id: <1460111031-8706-5-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460111031-8706-1-git-send-email-zajec5@gmail.com> References: <1460111031-8706-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160408_032434_469412_EA516E4E X-CRM114-Status: GOOD ( 11.46 ) X-Spam-Score: -2.5 (--) 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: Wan ZongShun , Richard Weinberger , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , open list , linux-mtd@lists.infradead.org, Brian Norris , David Woodhouse , "moderated list:ARM/NUVOTON W90X900 ARM ARCHITECTURE" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable 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 This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to enum nand_ecc_algo). Signed-off-by: Rafa? Mi?ecki --- drivers/mtd/nand/nuc900_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/nuc900_nand.c b/drivers/mtd/nand/nuc900_nand.c index dbc5b57..8f64011 100644 --- a/drivers/mtd/nand/nuc900_nand.c +++ b/drivers/mtd/nand/nuc900_nand.c @@ -261,6 +261,7 @@ static int nuc900_nand_probe(struct platform_device *pdev) chip->chip_delay = 50; chip->options = 0; chip->ecc.mode = NAND_ECC_SOFT; + chip->ecc.algo = NAND_ECC_HAMMING; res = platform_get_resource(pdev, IORESOURCE_MEM, 0); nuc900_nand->reg = devm_ioremap_resource(&pdev->dev, res);