Skip to content
Snippets Groups Projects
Commit 23d8f778 authored by Shaohui Xie's avatar Shaohui Xie Committed by Wolfgang Denk
Browse files

spi/eon: add support for new EON spi flash EN25Q32B


Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
parent 1e41f5ad
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = {
.nr_sectors = 4096,
.name = "EN25Q128",
},
{
.idcode1 = 0x16,
.page_size = 256,
.pages_per_sector = 16,
.sectors_per_block = 16,
.nr_sectors = 1024,
.name = "EN25Q32B",
},
};
static int eon_erase(struct spi_flash *flash, u32 offset, size_t len)
......
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