Added support for xt25f128b SPI NOR flash

This commit is contained in:
JarrettR 2020-05-18 22:52:01 -07:00
parent 837c56fb99
commit e6eb00657b
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,14 @@
--- a/drivers/mtd/spi-nor/spi-nor.c 2019-07-30 19:04:15.000000000 -0700
+++ b/drivers/mtd/spi-nor/spi-nor.c 2020-05-18 18:15:43.425404994 -0700
@@ -2112,6 +2112,11 @@
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
},
{
+ "xt25f128b", INFO(0x0b4018, 0, 64 * 1024, 256,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
+ {
"w25q128jv", INFO(0xef7018, 0, 64 * 1024, 256,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)

View file

@ -0,0 +1,14 @@
--- a/drivers/mtd/spi/spi-nor-ids.c 2019-07-30 19:16:16.000000000 -0700
+++ b/drivers/mtd/spi/spi-nor-ids.c 2020-05-18 18:26:08.972315961 -0700
@@ -267,6 +267,11 @@
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
},
{
+ INFO("xt25f128b", 0x0b4018, 0, 64 * 1024, 256,
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)
+ },
+ {
INFO("w25q128jv", 0xef7018, 0, 64 * 1024, 256,
SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB)