NVIDIA: SAUCE: mtd: spi-nor: support for spansion and macronix
BugLink: https://bugs.launchpad.net/bugs/2080908 Add flash info for spansion and macronix flash devices. http://nvbugs/4047850 Signed-off-by: Vishwaroop A <va@nvidia.com> Signed-off-by: Abhilash G <abhilashg@nvidia.com> Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Noah Wager <noah.wager@canonical.com> Acked-by: Jacob Martin <jacob.martin@canonical.com> Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
@@ -137,6 +137,12 @@ static const struct flash_info macronix_nor_parts[] = {
|
||||
.size = SZ_64M,
|
||||
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
|
||||
.fixup_flags = SPI_NOR_4B_OPCODES,
|
||||
}, {
|
||||
.id = SNOR_ID(0xc2, 0x95, 0x3a),
|
||||
.name = "mx25u51279g",
|
||||
.size = SZ_64M,
|
||||
.no_sfdp_flags = SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
|
||||
.fixup_flags = SPI_NOR_4B_OPCODES,
|
||||
}, {
|
||||
.id = SNOR_ID(0xc2, 0x25, 0x3a),
|
||||
.name = "mx66u51235f",
|
||||
|
||||
@@ -908,6 +908,12 @@ static const struct flash_info spansion_nor_parts[] = {
|
||||
.size = SZ_16M,
|
||||
.no_sfdp_flags = SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
|
||||
.mfr_flags = USE_CLSR,
|
||||
}, {
|
||||
.id = SNOR_ID(0x01, 0x02, 0x20, 0x4d, 0x01, 0x81),
|
||||
.name = "s25fs512s1",
|
||||
.size = SZ_64M,
|
||||
.no_sfdp_flags = SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ,
|
||||
.mfr_flags = USE_CLSR,
|
||||
}, {
|
||||
.id = SNOR_ID(0x01, 0x20, 0x18, 0x4d, 0x01, 0x81),
|
||||
.name = "s25fs128s1",
|
||||
|
||||
Reference in New Issue
Block a user