drivers: mtd: spi: Add micron mt35xu512a and mt35xu02g flash ID
PATCH v5 1/1 drivers: mtd: spi: Add micron mt35xu512a and mt35xu02g flash ID
mt35xu512a and mt35xu02g suports Single I/O and OCTAL I/O also enable use of SPI_NOR_4B_OPCODES.
These flashes are tested on LX2160ARDB and LS1028ARDB respectively
---
v5:
Is INFO inplace of INFO6
v4:
Correct flash name to mt35xu512a in place of mt35xu512g v3:
1. Add version info, rebase to top
v2:
1. Adding more description in commit msg.
2. consolidating "http://patchwork.ozlabs.org/patch/1097867/" and "http://patchwork.ozlabs.org/patch/1097867/" in single patch.
drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/mtd/spi/spi-nor-ids.c +2 -0
@@ -170,6 +170,8 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00", 0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25qu02g", 0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, + { INFO("mt35xu512a", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_4B_OPCODES) }, + { INFO("mt35xu02g", 0x2c5b1c, 0, 128 * 1024, 2048, USE_FSR | SPI_NOR_4B_OPCODES) }, #endif #ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */ /* Spansion/Cypress -- single (large) sector size only, at least
Signature · 1 line
2.7.4
PATCH v5 1/1 drivers: mtd: spi: Add micron mt35xu512a and mt35xu02g flash ID
Quoted 2 lines · Ashish Kumar
mt35xu512a and mt35xu02g suports Single I/O and OCTAL I/O
s/mt35xu512a/mt35xu512aba/
Quoted 26 lines
also enable use of
SPI_NOR_4B_OPCODES.These flashes are tested on LX2160ARDB and LS1028ARDB respectively
Signed-off-by Kuldeep Singh <[email protected]>Signed-off-by Ashish Kumar <[email protected]>---
v5:
Is INFO inplace of INFO6
v4:
Correct flash name to mt35xu512a in place of mt35xu512g v3:
1. Add version info, rebase to top
v2:
1. Adding more description in commit msg.
2. consolidating "http://patchwork.ozlabs.org/patch/1097867/" and "http://patchwork.ozlabs.org/patch/1097867/" in single patch.drivers/mtd/spi/spi-nor-ids.c | 2 ++ 1 file changed, 2 insertions(+)drivers/mtd/spi/spi-nor-ids.c +0
-0
drivers/mtd/spi/spi-nor-ids.c const struct flash_info spi_nor_ids[] = { · line 173
Quoted 4 lines
drivers/mtd/spi/spi-nor-ids.c +1
-0@@ -170,6 +170,8 @@ const struct flash_info spi_nor_ids[] = { { INFO("n25q00", 0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("n25q00a", 0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, { INFO("mt25qu02g", 0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) }, + { INFO("mt35xu512a", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_4B_OPCODES) },
s/mt35xu512a/mt35xu512aba/
Applied to u-boot-spi/master