Message ID | 20200116130335.2200078-1-robert.marko@sartura.hr |
---|---|
State | Accepted |
Commit | 370d33bc8c778cc3a133d651b54db0d02e639a91 |
Headers | show |
Series | mtd: spinand: winbond: Add support for W25N01GV | expand |
On Thu, Jan 16, 2020 at 6:33 PM Robert Marko <robert.marko at sartura.hr> wrote: > > Linux has supported W25N01GV for a long time, so lets import it. > > Signed-off-by: Robert Marko <robert.marko at sartura.hr> > Cc: Luka Perkov <luka.perkov at sartura.hr> > --- Applied to u-boot-spi/master
On Sun, Jan 26, 2020 at 2:47 PM Jagan Teki <jagan at amarulasolutions.com> wrote: > > On Thu, Jan 16, 2020 at 6:33 PM Robert Marko <robert.marko at sartura.hr> wrote: > > > > Linux has supported W25N01GV for a long time, so lets import it. > > > > Signed-off-by: Robert Marko <robert.marko at sartura.hr> > > Cc: Luka Perkov <luka.perkov at sartura.hr> > > --- > > Applied to u-boot-spi/master Great, can you also take a look at my Toshiba SPI-NAND related patches?
diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c index eac811d97c..6ba8bc5c7b 100644 --- a/drivers/mtd/nand/spi/winbond.c +++ b/drivers/mtd/nand/spi/winbond.c @@ -86,6 +86,14 @@ static const struct spinand_info winbond_spinand_table[] = { 0, SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL), SPINAND_SELECT_TARGET(w25m02gv_select_target)), + SPINAND_INFO("W25N01GV", 0xAA, + NAND_MEMORG(1, 2048, 64, 64, 1024, 1, 1, 1), + NAND_ECCREQ(1, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + 0, + SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL)), }; /**
Linux has supported W25N01GV for a long time, so lets import it. Signed-off-by: Robert Marko <robert.marko at sartura.hr> Cc: Luka Perkov <luka.perkov at sartura.hr> --- drivers/mtd/nand/spi/winbond.c | 8 ++++++++ 1 file changed, 8 insertions(+)