mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 21:24:21 +08:00
spi/eon: add support for new EON spi flash EN25Q32B
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
This commit is contained in:
parent
1e41f5ad45
commit
23d8f778c8
@ -49,6 +49,14 @@ static const struct eon_spi_flash_params eon_spi_flash_table[] = {
|
|||||||
.nr_sectors = 4096,
|
.nr_sectors = 4096,
|
||||||
.name = "EN25Q128",
|
.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)
|
static int eon_erase(struct spi_flash *flash, u32 offset, size_t len)
|
||||||
|
Loading…
Reference in New Issue
Block a user