Skip to content

Commit 44dd635

Browse files
BoughChenprati0100
authored andcommitted
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>
1 parent 9437a14 commit 44dd635

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

drivers/mtd/spi-nor/micron-st.c

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,14 +187,10 @@ static const struct spi_nor_fixups mt35xu512aba_fixups = {
187187

188188
static const struct flash_info micron_nor_parts[] = {
189189
{
190+
/* MT35XU512ABA */
190191
.id = SNOR_ID(0x2c, 0x5b, 0x1a),
191-
.name = "mt35xu512aba",
192-
.sector_size = SZ_128K,
193-
.size = SZ_64M,
194-
.no_sfdp_flags = SECT_4K | SPI_NOR_OCTAL_READ |
195-
SPI_NOR_OCTAL_DTR_READ | SPI_NOR_OCTAL_DTR_PP,
196192
.mfr_flags = USE_FSR,
197-
.fixup_flags = SPI_NOR_4B_OPCODES | SPI_NOR_IO_MODE_EN_VOLATILE,
193+
.fixup_flags = SPI_NOR_IO_MODE_EN_VOLATILE,
198194
.fixups = &mt35xu512aba_fixups,
199195
}, {
200196
.id = SNOR_ID(0x2c, 0x5b, 0x1c),

0 commit comments

Comments
 (0)