From patchwork Tue Dec 15 05:59:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Pan X-Patchwork-Id: 556793 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 0A1D2140311 for ; Tue, 15 Dec 2015 17:02:59 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=lF1zYVa/; dkim-atps=neutral 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 1a8igJ-0000M9-FR; Tue, 15 Dec 2015 06:01:51 +0000 Received: from mail-pa0-x244.google.com ([2607:f8b0:400e:c03::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a8ifg-0008Kx-3M for linux-mtd@lists.infradead.org; Tue, 15 Dec 2015 06:01:13 +0000 Received: by pabtx6 with SMTP id tx6so843229pab.3 for ; Mon, 14 Dec 2015 22:00:51 -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=V9YSFWN+h7K3D+gy+sYlEYMac8KZFYGPsjZ1ilhreq8=; b=lF1zYVa/kC4CntbqPgj+n3h3wqf5AcT2YnYYEvqvHTXyF4CC8sFyjKfM9WpkglfAin erwy8AHf0XxRxAXDfdiFMUIEARsBbtPuE1Bbv2zQtZW6X0xvlTW0we734+07ELXfmskx 9rlvCD12f+ns3/Ar3FoH57QAYgHj213rEFGpa8eayZbPs1h0SlpwzMKUFXQJsuUhE6Wd B4p9QeOLuM0n15sN7AZq4k5AUuRxgx8P1s0CUnnYUpdm73qK88/Gkuk2dMkPRNVXCYxb WIGksu9EcgOewRAQPVssiz/sb5sToYI4EGqq5HIs7ScicM5GWv4RmQYdd5DDuk9A6myl RYoA== X-Received: by 10.66.234.226 with SMTP id uh2mr50382599pac.6.1450159251347; Mon, 14 Dec 2015 22:00:51 -0800 (PST) Received: from ip-172-31-10-211.us-west-1.compute.internal (ec2-54-183-210-74.us-west-1.compute.amazonaws.com. [54.183.210.74]) by smtp.gmail.com with ESMTPSA id sg4sm46551632pac.48.2015.12.14.22.00.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Dec 2015 22:00:50 -0800 (PST) From: Peter Pan X-Google-Original-From: Peter Pan To: computersforpeace@gmail.com, dwmw2@infradead.org, boris.brezillon@free-electrons.com, fransklaver@gmail.com Subject: [PATCH v2 11/12] mtd: nand: remove nand_chip.bbt Date: Tue, 15 Dec 2015 05:59:37 +0000 Message-Id: <1450159178-29895-12-git-send-email-peterpandong@micron.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450159178-29895-1-git-send-email-peterpandong@micron.com> References: <1450159178-29895-1-git-send-email-peterpandong@micron.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151214_220112_435485_1655D90B X-CRM114-Status: GOOD ( 11.22 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:400e:c03:0:0:0:244 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (peterpansjtu[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Pan , beanhuo@micron.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, karlzhang@micron.com MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Brian Norris With new nand_bbt.c, nand_chip doesn't need bbt element any more Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- include/linux/mtd/nand.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index ee15f7d..99e4846 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -629,7 +629,6 @@ struct nand_buffers { * @read_retries: [INTERN] the number of read retry modes supported * @onfi_set_features: [REPLACEABLE] set the features for ONFI nand * @onfi_get_features: [REPLACEABLE] get the features for ONFI nand - * @bbt: [INTERN] bad block table pointer * @nand_bbt: [INTERN] pointer to bad block table structure, which * includes all information needed by Bad Block Management * @bbt_td: [REPLACEABLE] bad block table descriptor for flash @@ -719,7 +718,6 @@ struct nand_chip { struct nand_buffers *buffers; struct nand_hw_control hwcontrol; - uint8_t *bbt; struct nand_bbt *nand_bbt; struct nand_bbt_descr *bbt_td; struct nand_bbt_descr *bbt_md;