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 <patrick.rudolph@9elements.com>
Reviewed-on: https://review.coreboot.org/28861
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
This commit is contained in:
Patrick Rudolph 2018-10-01 16:00:16 +02:00 committed by Philipp Deppenwiese
parent cc335c7567
commit fca506d579
1 changed files with 10 additions and 0 deletions

View File

@ -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,