summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2018-06-13 00:20:31 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-06-14 09:49:56 +0000
commite73a85c5a51cb6e39ecaaca3ba497a81c86ee398 (patch)
tree8840ed355d7dde63637e6ad612bef7cfac2f9e5d /src/drivers
parent17fd13a4a7bb369f558a33bb9c4c5911052a63ff (diff)
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>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/macronix.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/macronix.c b/src/drivers/spi/macronix.c
index b7f2c49691..7ed70c029e 100644
--- a/src/drivers/spi/macronix.c
+++ b/src/drivers/spi/macronix.c
@@ -56,6 +56,14 @@ struct macronix_spi_flash_params {
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,
.page_size = 256,
.pages_per_sector = 16,