From patchwork Wed Jun 28 20:30:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Adami X-Patchwork-Id: 781919 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3wyZHy4SZ6z9s0m for ; Thu, 29 Jun 2017 06:33:34 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TGg8eJBu"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HGZxAm3Z"; dkim-atps=neutral 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=pUqzzb5QHvrabMNNrK8H6R8BPQl8WI06jxXHWS6435o=; b=TGg8eJBugxAXDDwx//B4zPvYr/ 3VItR08Bjo+Khq7sDKvxKPg9p4m0wfwcUV6rDpT6N1SXBaG4z3x4twSeYnrjV+mTvdbUWwA8/OegH +VecBYMaqfDHHIli3VBc+D0lbx6gHVcppNDp0k0Z23PMpjxAhILTFSo9lF9BY49R7OheRPzzlp7Yu 8JDbxGd4xIQQ06R+n32n6WDHG3vyQgQahHe/kAL507UA9Sul6XqdcCE3scDBShv3KeU9mB5MMCs7J tM3WEs9OtOmVvAgT4ESFt4UoPWLQ68HZ6V/66ItTcOhoReUXxfqNoBS5zV9MHLhcZx0Azm55c0XJd hMj53lfQ==; 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 1dQJeT-00064B-6o; Wed, 28 Jun 2017 20:33:29 +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 1dQJc7-0004C9-ES; Wed, 28 Jun 2017 20:31:05 +0000 Received: by mail-wm0-x243.google.com with SMTP id p204so8731897wmg.1; Wed, 28 Jun 2017 13:30:42 -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=mUcGzh4GUS2j+HbVxeXwRicmzWQB8MPeSd38HyWlGgY=; b=HGZxAm3ZQtonRjJZH2ytAC4ieyb+5X7VyyXAR2wfY9PaQB9zhpSMUoymUYn7qeved5 Vve5z1be+6j1p3+zfHdyVeV3lKYEJnHvVXWIsClBYkx7hOUGsSH5I858qzn3Odqjgtfk rpcgSpZDYdaANs8muX3qmEWMuM0ohXeeJjSA2do/cZxTcHV3fbRPGXrmFQltyIziKotq RXCDiD872jsUCUYrKHc3r9bT+WxeTqTF6+QnuLAlppkyOi/7nZsScWYXyUfC0i0zZEfY HzTm3ok/RVD9aRnoWnohDmS9+iZ9aAEDg/nr+XERSCpqhvuoAHkis7LJIW1FmxiAo3FU 0LhA== 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=mUcGzh4GUS2j+HbVxeXwRicmzWQB8MPeSd38HyWlGgY=; b=bix14jyxFoyG3XI9H267typrRzVrbSswD3CTOiWiJtyIbawTHObzrS3/71QzwKqILe XnZzmTceJYe7KydRAIl1X87+IfHQ570hiqKGJ8sisGassLolCGR93SdKMpxQa8sWIZkz lItIAlHl4MRSDcixiqNSDtUpxZy+2DE7I924mLGUFI3Rselhhly55J5r7hMPTgpugLbx IB4EC3O0rbeSC8hXO7KqENK9789PoEs/Y8TpalOLKK93xQtVbAhvdotiOiouC19wy015 nBp03lq37a9E+FDuV70lkO+wHp/tXpGP97G+Dl4X5egk9+297WzBD15nFm/n8kli96vR xnfg== X-Gm-Message-State: AKS2vOyiWjpOyCh/R1FJ0Kk9gzt7pX57Xht58c6AkmDyjrq5gUvsAnYU zoVjpekATGv+kFYofjE= X-Received: by 10.28.103.132 with SMTP id b126mr9323314wmc.10.1498681841227; Wed, 28 Jun 2017 13:30:41 -0700 (PDT) Received: from andrea-ThinkPad-T520.homenet.telecomitalia.it (host251-139-dynamic.104-80-r.retail.telecomitalia.it. [80.104.139.251]) by smtp.gmail.com with ESMTPSA id h16sm10832684wma.14.2017.06.28.13.30.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jun 2017 13:30:40 -0700 (PDT) From: Andrea Adami To: linux-mtd@lists.infradead.org Subject: [PATCH v4 2/9] mtd: nand: sharpsl.h: support partition parser types Date: Wed, 28 Jun 2017 22:30:29 +0200 Message-Id: <1498681836-3765-3-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498681836-3765-1-git-send-email-andrea.adami@gmail.com> References: <1498681836-3765-1-git-send-email-andrea.adami@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170628_133103_672659_9BED227A X-CRM114-Status: GOOD ( 12.94 ) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Wolfram Sang , Dmitry Eremin-Solenikov , Richard Weinberger , Robert Jarzmik , linux-mmc@vger.kernel.org, Russell King , Haojian Zhuang , linux-kernel@vger.kernel.org, Marek Vasut , linux-arm-kernel@lists.infradead.org, Cyrille Pitchen , Lee Jones , Brian Norris , David Woodhouse , Linus Walleij , Daniel Mack MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Andrea Adami --- include/linux/mtd/sharpsl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mtd/sharpsl.h b/include/linux/mtd/sharpsl.h index 65e91d0..c0e0be2 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 *types; /* names of parsers to use if any */ };