Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcf690a2 authored by Victor Shyba's avatar Victor Shyba Committed by Cyrille Pitchen
Browse files

mtd: spi-nor: Add lock/unlock support for f25l32pa



This chip has write protection enabled on power-up,
so this flag is necessary to support write operations.

Signed-off-by: default avatarVictor Shyba <victor1984@riseup.net>
Acked-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Signed-off-by: default avatarCyrille Pitchen <cyrille.pitchen@atmel.com>
parent ba3ae6a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -956,7 +956,7 @@ static const struct flash_info spi_nor_ids[] = {
	{ "en25s64",	INFO(0x1c3817, 0, 64 * 1024,  128, SECT_4K) },

	/* ESMT */
	{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K) },
	{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64, SECT_4K | SPI_NOR_HAS_LOCK) },

	/* Everspin */
	{ "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },