mirror of https://github.com/torvalds/linux.git
mtd: spi-nor: micron-st: use SFDP of mt35xu512aba
mt35xu512aba has SFDP, already contain the necessary information, so remove size and some flags here. Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
This commit is contained in:
parent
9437a14ae2
commit
44dd635cd6
|
|
@ -187,14 +187,10 @@ static const struct spi_nor_fixups mt35xu512aba_fixups = {
|
|||
|
||||
static const struct flash_info micron_nor_parts[] = {
|
||||
{
|
||||
/* MT35XU512ABA */
|
||||
.id = SNOR_ID(0x2c, 0x5b, 0x1a),
|
||||
.name = "mt35xu512aba",
|
||||
.sector_size = SZ_128K,
|
||||
.size = SZ_64M,
|
||||
.no_sfdp_flags = SECT_4K | SPI_NOR_OCTAL_READ |
|
||||
SPI_NOR_OCTAL_DTR_READ | SPI_NOR_OCTAL_DTR_PP,
|
||||
.mfr_flags = USE_FSR,
|
||||
.fixup_flags = SPI_NOR_4B_OPCODES | SPI_NOR_IO_MODE_EN_VOLATILE,
|
||||
.fixup_flags = SPI_NOR_IO_MODE_EN_VOLATILE,
|
||||
.fixups = &mt35xu512aba_fixups,
|
||||
}, {
|
||||
.id = SNOR_ID(0x2c, 0x5b, 0x1c),
|
||||
|
|
|
|||
Loading…
Reference in New Issue