Message ID | 1502743720-28672-3-git-send-email-andrea.adami@gmail.com |
---|---|
State | Accepted |
Delegated to: | Boris Brezillon |
Headers | show
Return-Path: <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XvLu+Muw"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="A3rQt8WW"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xWSSH10pPz9t24 for <incoming@patchwork.ozlabs.org>; Tue, 15 Aug 2017 06:50:55 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=qQcMCIiN2xWjxQemQHApCh2rXJ1kqviAcPJGDfsXjO8=; b=XvLu+MuwjdWhk+LJWgcNPSuIWi qL8zLT3BPMM27i6lcxbcFGafsWeWkkoiTZQyyzrGL2zxBlYe1r8HMXo6yMBGFxILMGyf9dz9txZV1 e7Y/WMBSUg33bwzkm5KFeAznEJjsr+w3eabFj/eiBzMxAdNaZgLDmJ1wEhZ1yX0tmK6i0RE4Vze18 nICMbB6uqNE601mCHTHdQQHwJ4D1Fdohd4/h6/LVh6BOJx/p9c4P/LNrcLGjoSjjjr1k+M5CxkHTD g3Z5JWjcNyHv8Owc4NX9YFfSbTDAYsuW+GDlyk2nvLhORfcoxpQ57+eFffkB+UKB5J9lL0jC1xA00 BgX3J0Yg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dhMJz-0003Aj-7g; Mon, 14 Aug 2017 20:50:47 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dhMIS-0000Ao-Ij; Mon, 14 Aug 2017 20:49:20 +0000 Received: by mail-wm0-x243.google.com with SMTP id t138so15692507wmt.4; Mon, 14 Aug 2017 13:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=oZ3CLSRzPU7G32d8GQhW72lmhTg3GfrSGzkBhJd0K00=; b=A3rQt8WW6gwpm+n8/k6velDLxLgh0z7co4bItxxWOxXmFYCciuJzJVgeTlp1NAFACt cmuqCz7i6o8vsQZec62YPawJkJK8sruDQZXgmfi+pzijIY1j8J2EImVU8ZV3co8tCmbj l2FIG74m8fTKC+8vhkQb0BcUDB5oWgumVLBsMi9USwkMt9aJwKFbJmFmOGXAlQaQJCxT 4BAJfctC9Oa5HsVAFpIkpajIb62kl6rCSLWf8W/4LawsaVUZvzy7C4lWjNxM4Cxszo8e 93769jPd0+2REwuPFrd+QhfRCNNJu00/Lr19t/lLiFxQ7V1ZDWDA621xxHICG8CVEo7t WeZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oZ3CLSRzPU7G32d8GQhW72lmhTg3GfrSGzkBhJd0K00=; b=brqqTlGDPwgyF4PczD+eoYNGbSqSSRXDfU9G9FQEYGeU3EnlbzALr+zch3JDTtg0xx hF3+gEuFyH96tSUbPe8WALg25ecy3gpx/e6HAMHn9ODVqxUaEAUTW4WBpH3XUT1nYcLS Y1Wr0GG1IbhZhTNf6AbYSZhduibH4MqJfB9Muxz+gfhaDd5jrDVM/GQ+Iy0ud3aBMoae W770Ff9aLWIR/mWbGzSWMo0u1ldcM63GKFsBNOwsVADW9DztkW35pM7p837e9hKMiI+r v4OKPojVifgz6YUjCNWaEF5PG1z0pLnXIHqSzV8YhhqUl76zx4zwRPHp/NZeiWL2yTpB x34Q== X-Gm-Message-State: AHYfb5iypTZf9xezs4Indi1f8bho3DRU8/8gru+jQR6QRBxqgN5cfQ5+ sb7n+jzINuxv7EDluDI= X-Received: by 10.28.188.85 with SMTP id m82mr112525wmf.3.1502743728324; Mon, 14 Aug 2017 13:48:48 -0700 (PDT) Received: from andrea-ThinkPad-T520.homenet.telecomitalia.it (host228-232-dynamic.45-213-r.retail.telecomitalia.it. [213.45.232.228]) by smtp.gmail.com with ESMTPSA id 12sm172933wmy.44.2017.08.14.13.48.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 13:48:47 -0700 (PDT) From: Andrea Adami <andrea.adami@gmail.com> To: linux-mtd@lists.infradead.org Subject: [PATCH v5 2/9] mtd: nand: sharpsl: Add partition parsers platform data Date: Mon, 14 Aug 2017 22:48:33 +0200 Message-Id: <1502743720-28672-3-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502743720-28672-1-git-send-email-andrea.adami@gmail.com> References: <1502743720-28672-1-git-send-email-andrea.adami@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170814_134912_916454_F2C4EEFA X-CRM114-Status: GOOD ( 13.01 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c09:0:0:0:243 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andrea.adami[at]gmail.com) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list <linux-mtd.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mtd/> List-Post: <mailto:linux-mtd@lists.infradead.org> List-Help: <mailto:linux-mtd-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mtd>, <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe> Cc: Boris Brezillon <boris.brezillon@free-electrons.com>, Wolfram Sang <wsa+renesas@sang-engineering.com>, Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>, Richard Weinberger <richard@nod.at>, Robert Jarzmik <robert.jarzmik@free.fr>, linux-mmc@vger.kernel.org, Russell King <linux@armlinux.org.uk>, Haojian Zhuang <haojian.zhuang@gmail.com>, linux-kernel@vger.kernel.org, Marek Vasut <marek.vasut@gmail.com>, linux-arm-kernel@lists.infradead.org, Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>, Lee Jones <lee.jones@linaro.org>, Brian Norris <computersforpeace@gmail.com>, David Woodhouse <dwmw2@infradead.org>, Linus Walleij <linus.walleij@linaro.org>, Daniel Mack <daniel@zonque.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" <linux-mtd-bounces@lists.infradead.org> Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0..6381a7d 100644 --- a/include/linux/mtd/sharpsl.h +++ b/include/linux/mtd/sharpsl.h @@ -17,4 +17,5 @@ struct sharpsl_nand_platform_data { const struct mtd_ooblayout_ops *ecc_layout; struct mtd_partition *partitions; unsigned int nr_partitions; + const char *const *part_parsers; };
With the introduction of sharpslpart partition parser we can now read the offsets from NAND: we specify the list of the parsers as platform data, with cmdlinepart and ofpart parsers first allowing to override the part. table written in NAND. This is done in the board files using this driver. Thus, we need to extend sharpsl_nand_platform_data to consider the partition parsers. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+)