Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752055AbdIVKIr (ORCPT ); Fri, 22 Sep 2017 06:08:47 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:56860 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847AbdIVKIq (ORCPT ); Fri, 22 Sep 2017 06:08:46 -0400 Date: Fri, 22 Sep 2017 12:08:44 +0200 From: Boris Brezillon To: Masahiro Yamada Cc: linux-mtd@lists.infradead.org, Richard Weinberger , Wan ZongShun , Marek Vasut , Josh Wu , linux-kernel@vger.kernel.org, Wenyou Yang , Cyrille Pitchen , Brian Norris , David Woodhouse , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/2] mtd: nand: introduce NAND_ROW_ADDR_3 flag and improve Denali driver Message-ID: <20170922120844.6cc692e6@bbrezillon> In-Reply-To: <1505268351-31941-1-git-send-email-yamada.masahiro@socionext.com> References: <1505268351-31941-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1316 Lines: 41 On Wed, 13 Sep 2017 11:05:49 +0900 Masahiro Yamada wrote: > Currently, Denali NAND driver always expects 3 row address cycle > devices because the driver init code hard-code the register setting. > I will fix it in 2/2. > > Many drivers check chip->chipsize if the third row address cycle > is needed or not. This is not nice because 32MB, 128MB are > magic numbers. nand_scan_ident can decide it and provide a > driver-friendly flag. > > 1/2 is touching verious drivers. > I hope Acked-by from driver maintainers if this change looks good. > Applied. Thanks, Boris > > Changes in v2: > - Fix build error > > Masahiro Yamada (2): > mtd: nand: introduce NAND_ROW_ADDR_3 flag > mtd: nand: denali: support two row address cycle devices > > drivers/mtd/nand/atmel/nand-controller.c | 3 +-- > drivers/mtd/nand/au1550nd.c | 3 +-- > drivers/mtd/nand/denali.c | 4 ++-- > drivers/mtd/nand/diskonchip.c | 3 +-- > drivers/mtd/nand/hisi504_nand.c | 3 +-- > drivers/mtd/nand/mxc_nand.c | 3 +-- > drivers/mtd/nand/nand_base.c | 9 +++++---- > drivers/mtd/nand/nuc900_nand.c | 2 +- > include/linux/mtd/rawnand.h | 3 +++ > 9 files changed, 16 insertions(+), 17 deletions(-) >