mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-22 15:42:04 +00:00
mtd/spi/macronix.c: add MX25L4005 and MX25L8005
Add support of MX25L4005 and MX25L8005 according to the datasheet http://www.mct.net/download/macronix/mx25l8005.pdf This patch has been tested with MX25L4005 and MX25L8005 Signed-off-by: Macpaul Lin <macpaul@andestech.com>
This commit is contained in:
parent
0886eef9ba
commit
2d722e0549
1 changed files with 16 additions and 0 deletions
|
@ -59,6 +59,22 @@ struct macronix_spi_flash_params {
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
|
static const struct macronix_spi_flash_params macronix_spi_flash_table[] = {
|
||||||
|
{
|
||||||
|
.idcode = 0x2013,
|
||||||
|
.page_size = 256,
|
||||||
|
.pages_per_sector = 16,
|
||||||
|
.sectors_per_block = 16,
|
||||||
|
.nr_blocks = 8,
|
||||||
|
.name = "MX25L4005",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.idcode = 0x2014,
|
||||||
|
.page_size = 256,
|
||||||
|
.pages_per_sector = 16,
|
||||||
|
.sectors_per_block = 16,
|
||||||
|
.nr_blocks = 16,
|
||||||
|
.name = "MX25L8005",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
.idcode = 0x2015,
|
.idcode = 0x2015,
|
||||||
.page_size = 256,
|
.page_size = 256,
|
||||||
|
|
Loading…
Reference in a new issue