summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-14 22:25:58 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-06-16 18:22:27 +0000
commit76f7b79fb8d05e34ae247b77408a342a89ccf11b (patch)
treea5f92ba3ef69a2b480691c251b8a14532c3ba97e /src/drivers
parent3711479c271246157c62ac2f1030f112eb8da8e4 (diff)
downloadcoreboot-76f7b79fb8d05e34ae247b77408a342a89ccf11b.tar.xz
drivers/spi: Add Winbond W25Q80
This is a small 8 megabit (1 MiB) part. Change-Id: I9890457d0d14beb17d0a428c2701e620ae8c2512 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/27107 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/spi/winbond.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c
index 2fc8209965..a191f141be 100644
--- a/src/drivers/spi/winbond.c
+++ b/src/drivers/spi/winbond.c
@@ -62,6 +62,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
.name = "W25X64",
},
{
+ .id = 0x4014,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 16,
+ .name = "W25Q80",
+ },
+ {
.id = 0x4015,
.l2_page_size = 8,
.pages_per_sector = 16,