Skip to content
Snippets Groups Projects
Commit b54d1f26 authored by Jérôme Carretero's avatar Jérôme Carretero Committed by Mike Frysinger
Browse files

sf: stmicro: add geometrical info for N25Q256 from Micron


Note: because 4-byte addressing is not supported yet,
at the moment only the first 16MiB of the device are available.

Signed-off-by: default avatarJérôme Carretero <cJ@zougloub.eu>
Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 86493994
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,12 @@ static const struct stmicro_spi_flash_params stmicro_spi_flash_table[] = {
.nr_sectors = 64,
.name = "M25P128",
},
{
.idcode1 = 0x19,
.pages_per_sector = 256,
.nr_sectors = 512,
.name = "N25Q256",
},
};
struct spi_flash *spi_flash_probe_stmicro(struct spi_slave *spi, u8 * idcode)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment