From patchwork Fri Sep 22 03:46:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 113944 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp2797081qgf; Thu, 21 Sep 2017 20:47:50 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBbJqyGdS4FMfXdtpINiaWdVpmNGGmRz8lCtCTxTaxf9VM+zwB2YjtvMMdaQAncacVaOJXx X-Received: by 10.99.43.4 with SMTP id r4mr7925845pgr.380.1506052070375; Thu, 21 Sep 2017 20:47:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506052070; cv=none; d=google.com; s=arc-20160816; b=xTZm3sBfC8joujzEdwxJ3Q4uc1cjMRD/qU+Vf8SvzIcCCfnQaDzWC+PUesicJ7ZtE8 INbkHeNIdwlfOhHBLZcN0oKseQrHsYeyMs2Vmpw2Lj7+AQxidEuDC7PyCSvY/2kyjHuh SrLLJyPwbCqvk/cCernfjzBv38xTl8KFlyF5kQmg+xTdjwOLS5zmVD1cv9p8KW/XFyZj E0l47up3BO0E1DQrf0LacB+C/4AHcKGjWPIMj9I/WHCB4FzejQmETuxbQcMIQbLEv4xx /A+5MG9XUzB/IVJix/Wu8mEl0RgKN/0UlEv9YCHgzK9kOHGtYguLGNP1rvsUJnRQoViw gU2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-filter:dkim-signature:arc-authentication-results; bh=5j882Mfy50zlDN2twZEJD9ieiyed3K+wFWNH0+KDC68=; b=ZgnqeWhNfkgBD3N4UEHrmPS9NxZyJq5L71Y3H1DlyejsZ5O8RMAMrBkPT4fMmFoE57 P2gwdAT4TgtPhBVoYL94CKtf3U3h87tI766hLhaA41LdBIhkFpzH0NzCzkmrGB8FP31N 46Lyy7JT4fbZ3Bq24/tR/WV7OyTAoQU5fmiGmgNVIp8dtQwO5u4dynbhMkzk/MPsKkz7 sJGIxwdSNjZd2JihzaThPCvMiBoFE1OVqmeBnnjFyFDQ66OifaFDd7oNjikQj/CksAIR fMz/Q0sYeJ5pHDS1wU6y7NZj//VgTY2X16sx7biGWC/9UKl0OZkYq8eQftopox//e8PG j0xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=dNWWCWu+; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=RpOkYvGS; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id b34si2231860plc.28.2017.09.21.20.47.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 20:47:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=dNWWCWu+; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=RpOkYvGS; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org 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: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:In-Reply-To: References:List-Owner; bh=5j882Mfy50zlDN2twZEJD9ieiyed3K+wFWNH0+KDC68=; b=dNW WCWu+h5gMbPP1MLljfdSLL7vEWl/oGf9Oal71dktooTKijmSLpnO3SHaxYz3HqZdELWhVEgVXupSM Vw6uNKRTBiW8oYr41+RnhapHOl16mWYmfIhuUzk72+hOiU+KS/IcDcpKxeYSjYoAucW+MrwDm085e eZW8P9CSJZYWdhTsLLRXDybTBpo5heKSqlIPnNI3NiQ3dSxqWJjwyxN6hUYK9soLsKyitxmB3MyHD 7m8Nvc3YmXebeB8CZeRs6QE+TSg7EfJjXwQG12p1uJiYJMZF7Ss/QFKOCBjnE7brR43p5HWCWKhFi +DTb3wc3zcLxgdsX2dKRkxndcrQ0sEg==; 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 1dvEwI-0004L4-68; Fri, 22 Sep 2017 03:47:42 +0000 Received: from conuserg-09.nifty.com ([210.131.2.76]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dvEwE-0004Ca-C1 for linux-mtd@lists.infradead.org; Fri, 22 Sep 2017 03:47:40 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v8M3kwAJ029389; Fri, 22 Sep 2017 12:46:59 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v8M3kwAJ029389 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1506052019; bh=An3YBwexOcByUOtAAiftizsubtp6H9TE789/+I9IWE0=; h=From:To:Cc:Subject:Date:From; b=RpOkYvGSstOs6qluhTnpDOjWG6Ci5Jflej26CBAj3bSXEHTdmiy/cJiQaoQzhm9vm spyGDcQ1ZQ0udXtL9qJP6xqtPaMeaJsfbnMJvaNFPDQj2pq1FP2fzNCiph1RpdRhsr 3yQtDhi22s1xrDzD6kn/JmyV05roiSv5fg5GyWuMSOcJqaoZAKFEGIHe2cN9cxR++N ewXPlYNfQL0+VzhYiPxGBG6X+6SHfukuXkBVHuPpj6ePzbqR/Cr+jd2v9zkJr3xQgX MC3r5jidbqpf9GArewBitOpwliCkZA4WQZaabS3Zb9UUmeGur5PnpqUE5mUwsBofqu j3lQb/yKls0xQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH v2 00/12] mtd: nand: denali: more clean-ups Date: Fri, 22 Sep 2017 12:46:37 +0900 Message-Id: <1506052009-8285-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170921_204738_876101_CEC4F7C2 X-CRM114-Status: UNSURE ( 6.95 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -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 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 , Marek Vasut , Richard Weinberger , linux-kernel@vger.kernel.org, Masahiro Yamada , Cyrille Pitchen , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This series make the Denali driver even cleaner and more correct. Masahiro Yamada (12): mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller mtd: nand: denali: prefix detect_max_banks() with denali_ mtd: nand: denali: consolidate include directives mtd: nand: denali: squash denali_enable_dma() helper into caller mtd: nand: denali: slight clean up of denali_wait_for_irq() mtd: nand: denali: clean up macros with mtd: nand: denali: use more FIELD_PREP / FIELD_GET where appropriate mtd: nand: denali: clean up comments mtd: nand: denali: use upper/lower_32_bits() macro for clean-up mtd: nand: denali: remove unneeded init of ECC_ENABLE register mtd: nand: denali: support direct addressing mode mtd: nand: denali: change the setup_dma choice into hook drivers/mtd/nand/denali.c | 277 ++++++++++++++++++------------------------ drivers/mtd/nand/denali.h | 44 +++---- drivers/mtd/nand/denali_dt.c | 4 +- drivers/mtd/nand/denali_pci.c | 5 +- 4 files changed, 141 insertions(+), 189 deletions(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/