Message ID | 20231214163623.1924877-1-tejas.arvind.bhumkar@amd.com |
---|---|
State | Accepted |
Delegated to: | Jagannadha Sutradharudu Teki |
Headers | show |
Series | mtd: spi-nor: Add support for Macronix flash part | expand |
On 2023-12-14 17:36, Tejas Bhumkar wrote: > Added support for Macronix OSPI flash parts MX25UM51345G > and MX66UM2G45G, with initial testing conducted on the > Tenzing-se1 board using STR mode for basic erase, write, > and readback operations. > > Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com> > --- > drivers/mtd/spi/spi-nor-ids.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi/spi-nor-ids.c > b/drivers/mtd/spi/spi-nor-ids.c > index f86e7ff8e5..a08f105549 100644 > --- a/drivers/mtd/spi/spi-nor-ids.c > +++ b/drivers/mtd/spi/spi-nor-ids.c > @@ -267,6 +267,8 @@ const struct flash_info spi_nor_ids[] = { > { INFO("mx66l2g45g", 0xc2201c, 0, 64 * 1024, 4096, SECT_4K | > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, > { INFO("mx25l1633e", 0xc22415, 0, 64 * 1024, 32, SPI_NOR_QUAD_READ > | SPI_NOR_4B_OPCODES | SECT_4K) }, > { INFO("mx25r6435f", 0xc22817, 0, 64 * 1024, 128, SECT_4K) }, > + { INFO("mx25um51345g", 0xc2813a, 0, 64 * 1024, 1024, SECT_4K | > SPI_NOR_4B_OPCODES) }, > + { INFO("mx66um2g45g", 0xc2803c, 0, 64 * 1024, 4096, SECT_4K | > SPI_NOR_4B_OPCODES) }, > { INFO("mx66uw2g345gx0", 0xc2943c, 0, 64 * 1024, 4096, SECT_4K | > SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) }, > { INFO("mx66lm1g45g", 0xc2853b, 0, 64 * 1024, 2048, SECT_4K | > SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) }, > { INFO("mx25lm51245g", 0xc2853a, 0, 64 * 1024, 1024, SECT_4K | > SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) }, The patch looks good to me, so: Reviewed-by: Dragan Simic <dsimic@manjaro.org> Please see also [1]. I hope you'll be willing to test the patches when they're ready. [1] https://lore.kernel.org/u-boot/0dc545aa9d32038dbe7bc481595198b0@manjaro.org/T/#u
On Thu, Dec 14, 2023 at 10:06 PM Tejas Bhumkar <tejas.arvind.bhumkar@amd.com> wrote: > > Added support for Macronix OSPI flash parts MX25UM51345G > and MX66UM2G45G, with initial testing conducted on the > Tenzing-se1 board using STR mode for basic erase, write, > and readback operations. > > Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com> > --- Applied to u-boot-spi/master
diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c index f86e7ff8e5..a08f105549 100644 --- a/drivers/mtd/spi/spi-nor-ids.c +++ b/drivers/mtd/spi/spi-nor-ids.c @@ -267,6 +267,8 @@ const struct flash_info spi_nor_ids[] = { { INFO("mx66l2g45g", 0xc2201c, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25l1633e", 0xc22415, 0, 64 * 1024, 32, SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES | SECT_4K) }, { INFO("mx25r6435f", 0xc22817, 0, 64 * 1024, 128, SECT_4K) }, + { INFO("mx25um51345g", 0xc2813a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_4B_OPCODES) }, + { INFO("mx66um2g45g", 0xc2803c, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_4B_OPCODES) }, { INFO("mx66uw2g345gx0", 0xc2943c, 0, 64 * 1024, 4096, SECT_4K | SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx66lm1g45g", 0xc2853b, 0, 64 * 1024, 2048, SECT_4K | SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) }, { INFO("mx25lm51245g", 0xc2853a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_OCTAL_DTR_READ | SPI_NOR_4B_OPCODES) },
Added support for Macronix OSPI flash parts MX25UM51345G and MX66UM2G45G, with initial testing conducted on the Tenzing-se1 board using STR mode for basic erase, write, and readback operations. Signed-off-by: Tejas Bhumkar <tejas.arvind.bhumkar@amd.com> --- drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)