driver/spi/macronix.c: Add MX25L8005

Change-Id: I595198d66193c63f6c80c39371fbec10065d2165
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/27040
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Arthur Heymans 2018-06-13 00:20:31 +02:00 committed by Patrick Georgi
parent 17fd13a4a7
commit e73a85c5a5
1 changed files with 8 additions and 0 deletions

View File

@ -55,6 +55,14 @@ 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 = 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,