Commit 44dd635c authored by Haibo Chen's avatar Haibo Chen Committed by Pratyush Yadav
Browse files

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: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: default avatarHaibo Chen <haibo.chen@nxp.com>
Signed-off-by: default avatarPratyush Yadav <pratyush@kernel.org>
parent 9437a14a
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -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),