Message ID | 1492610420-12397-2-git-send-email-clg@kaod.org |
---|---|
State | Accepted |
Delegated to: | Cyrille Pitchen |
Headers | show |
On 04/19/2017 04:00 PM, Cédric Le Goater wrote: > These modules are used on the OpenPOWER Witherspoon systems to hold > the POWER9 host firmware image. The SPI_NOR_DUAL_READ flags is added > for the Aspeed SoCs which do not support QUAD reads. > > Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> > --- > > The line is over 80 characters but it looks better. > > drivers/mtd/spi-nor/spi-nor.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c > index 747645c74134..ee777df4466c 100644 > --- a/drivers/mtd/spi-nor/spi-nor.c > +++ b/drivers/mtd/spi-nor/spi-nor.c > @@ -1020,6 +1020,7 @@ static const struct flash_info spi_nor_ids[] = { > { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K) }, > { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, > { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) }, > + { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) }, > > /* Micron */ >
Le 19/04/2017 à 16:04, Marek Vasut a écrit : > On 04/19/2017 04:00 PM, Cédric Le Goater wrote: >> These modules are used on the OpenPOWER Witherspoon systems to hold >> the POWER9 host firmware image. The SPI_NOR_DUAL_READ flags is added >> for the Aspeed SoCs which do not support QUAD reads. >> >> Signed-off-by: Cédric Le Goater <clg@kaod.org> > > Reviewed-by: Marek Vasut <marek.vasut@gmail.com> > Applied to the spi-nor/next branch of l2-mtd Thanks! >> --- >> >> The line is over 80 characters but it looks better. >> >> drivers/mtd/spi-nor/spi-nor.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c >> index 747645c74134..ee777df4466c 100644 >> --- a/drivers/mtd/spi-nor/spi-nor.c >> +++ b/drivers/mtd/spi-nor/spi-nor.c >> @@ -1020,6 +1020,7 @@ static const struct flash_info spi_nor_ids[] = { >> { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K) }, >> { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, >> { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) }, >> + { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, >> { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) }, >> >> /* Micron */ >> > >
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 747645c74134..ee777df4466c 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1020,6 +1020,7 @@ static const struct flash_info spi_nor_ids[] = { { "mx25u25635f", INFO(0xc22539, 0, 64 * 1024, 512, SECT_4K) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_QUAD_READ) }, + { "mx66l1g45g", INFO(0xc2201b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx66l1g55g", INFO(0xc2261b, 0, 64 * 1024, 2048, SPI_NOR_QUAD_READ) }, /* Micron */
These modules are used on the OpenPOWER Witherspoon systems to hold the POWER9 host firmware image. The SPI_NOR_DUAL_READ flags is added for the Aspeed SoCs which do not support QUAD reads. Signed-off-by: Cédric Le Goater <clg@kaod.org> --- The line is over 80 characters but it looks better. drivers/mtd/spi-nor/spi-nor.c | 1 + 1 file changed, 1 insertion(+)