[PATCH] mtd: nand: sunxi_nand.c: Select the chip in sunxi_nand_chip_init_timings()

Brian Norris computersforpeace at gmail.com
Wed Sep 9 16:53:06 PDT 2015


On Fri, Aug 28, 2015 at 03:18:11PM +0200, Hans de Goede wrote:
> Hi Stefan,
> 
> On 28-08-15 14:45, Stefan Roese wrote:
> >nand_scan_ident() leaves the chip deselected. So just issuing some commands
> >from the sunxi driver does not work. We need to select the chip before
> >writing the commands to the NAND device. This patch takes care of this.
> >
> >Set the new timing on all dies implemented as suggested by Boris.
> >
> >This was detected on the in-circuit ICnova-A20 SoM equipped with the
> >Micron MT29F32G08CBACAWP (4GiB) ONFI NAND device.
> >
> >Signed-off-by: Stefan Roese <sr at denx.de>
> >Cc: Boris Brezillon <boris.brezillon at free-electrons.com>
> >Cc: Hans de Goede <hdegoede at redhat.com>
> >Cc: Maxime Ripard <maxime.ripard at free-electrons.com>
> >Cc: Roy Spliet <r.spliet at ultimaker.com>
> >Cc: Brian Norris <computersforpeace at gmail.com>
> 
> This one has some whitespace errors, so you may want todo a v2:
> 
> [hans at shalem linux]$ git am ~/1.eml
> Applying: mtd: nand: sunxi_nand.c: Select the chip in sunxi_nand_chip_init_timings()
> /home/hans/projects/sunxi/linux/.git/rebase-apply/patch:29: space before tab in indent.
>  						ONFI_FEATURE_ADDR_TIMING_MODE,
> /home/hans/projects/sunxi/linux/.git/rebase-apply/patch:30: space before tab in indent.
>  						feature);
> warning: 2 lines add whitespace errors.

Fixed the whitespace myself and applied to l2-mtd.git/next



More information about the linux-mtd mailing list