[U-Boot] [PATCH 06/12] sf: probe: Add support for EN25Q* flash parts

All EON EN25Q* flash parts are taken from spi_flash_probe_legacy.c.
Signed-off-by: Jagannadha Sutradharudu Teki jaganna@xilinx.com --- drivers/mtd/spi/spi_flash_probe.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c index 93209a9..e48842a 100644 --- a/drivers/mtd/spi/spi_flash_probe.c +++ b/drivers/mtd/spi/spi_flash_probe.c @@ -34,6 +34,10 @@ static const struct { u32 sector_size; u32 nr_sectors; } spi_flash_ids[] = { + /* EON */ + {"EN25Q32B", 0x1c3016, 0x0, 64 * 1024, 64}, + {"EN25Q128B", 0x1c3018, 0x0, 64 * 1024, 256}, + /* STMICRO */ {"M25P10", 0x202011, 0x0, 32 * 1024, 4}, {"M25P20", 0x202012, 0x0, 64 * 1024, 4}, @@ -58,7 +62,6 @@ static const struct { /* * TODO: * ATMEL - * EON * GIGADEVICE * MACRONIX * RAMTRON
participants (1)
-
Jagannadha Sutradharudu Teki