From fca506d579cec575d24252e62638d9a150f51082 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Mon, 1 Oct 2018 16:00:16 +0200 Subject: drivers/spi/winbond: Add new chip The W25Q128J is a QSPI flash chip, without ~HOLD and ~WP. Add the device id to make coreboot boot from it. Change-Id: I623fdf7d7e30eb28259bec6294785ad873f1f503 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/28861 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Julius Werner Reviewed-by: Philipp Deppenwiese --- src/drivers/spi/winbond.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/drivers') diff --git a/src/drivers/spi/winbond.c b/src/drivers/spi/winbond.c index a6089b538d..e2c653865d 100644 --- a/src/drivers/spi/winbond.c +++ b/src/drivers/spi/winbond.c @@ -178,6 +178,16 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .protection_granularity_shift = 18, .bp_bits = 3, }, + { + .id = 0x7018, + .l2_page_size_shift = 8, + .pages_per_sector_shift = 4, + .sectors_per_block_shift = 4, + .nr_blocks_shift = 8, + .name = "W25Q128J", + .protection_granularity_shift = 18, + .bp_bits = 3, + }, { .id = 0x4019, .l2_page_size_shift = 8, -- cgit v1.2.3