David Hendricks has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_IM ......................................................................
flashchips: Add W25Q256JW_IM
W25Q256JW has two variants, the W25Q256JW with device ID 0x6019 added in CB:40855 and the W25q256JW-IM which is added by this patch.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/1
diff --git a/flashchips.c b/flashchips.c index b4006df..dc43162 100644 --- a/flashchips.c +++ b/flashchips.c @@ -16808,6 +16808,53 @@
{ .vendor = "Winbond", + .name = "W25Q256JW", + .bustype = BUS_SPI, + .manufacture_id = WINBOND_NEX_ID, + .model_id = WINBOND_NEX_W25Q256_JW, + .total_size = 32768, + .page_size = 256, + /* supports SFDP */ + /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ + /* FOUR_BYTE_ADDR: supports 4-bytes addressing mode */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 8192} }, + .block_erase = spi_block_erase_21, + }, { + .eraseblocks = { {4 * 1024, 8192} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {32 * 1024, 1024} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 512} }, + .block_erase = spi_block_erase_dc, + }, { + .eraseblocks = { {64 * 1024, 512} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {32 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {32 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {1700, 1950}, + }, + + { + .vendor = "Winbond", .name = "W25Q32.V", .bustype = BUS_SPI, .manufacture_id = WINBOND_NEX_ID, diff --git a/flashchips.h b/flashchips.h index e5ef390..2a0cf80 100644 --- a/flashchips.h +++ b/flashchips.h @@ -945,6 +945,7 @@ #define WINBOND_NEX_W25Q256JV_M 0x7019 /* W25Q256JV_M (QE=0) */ #define WINBOND_NEX_W25Q64JW 0x8017 #define WINBOND_NEX_W25Q128_DTR 0x8018 /* W25Q128JW_DTR */ +#define WINBOND_NEX_W25Q256_JW 0x8019 /* W25Q256JW */
#define WINBOND_ID 0xDA /* Winbond */ #define WINBOND_W19B160BB 0x49
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/42386
to look at the new patch set (#2).
Change subject: flashchips: Add W25Q256.W_IM ......................................................................
flashchips: Add W25Q256.W_IM
W25Q256JW has two variants, the W25Q256JW with device ID 0x6019 added in CB:40855 and the W25Q256JW-IM with device ID 0x8019 added by this patch.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/2
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256.W_IM ......................................................................
Patch Set 2:
The W25Q256JW patch is at CB:40855
Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256.W_IM ......................................................................
Patch Set 2:
(1 comment)
Patch Set 2:
The W25Q256JW patch is at CB:40855
https://review.coreboot.org/c/flashrom/+/42386/2/flashchips.h File flashchips.h:
https://review.coreboot.org/c/flashrom/+/42386/2/flashchips.h@948 PS2, Line 948: WINBOND_NEX_W25Q256_JW Thanks for your last comment. I wasn´t aware of this. May be you can add '-IM' (or 'DTR', which seems to give the same information, s. https://www.winbond.com/resource-files/W25Q256JW SPI RevG 11252019 Plus.pdf ) here to the string to better mark the difference?
Hello build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/42386
to look at the new patch set (#3).
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
flashchips: Add W25Q256JW_DTR
W25Q256JW currently has two variants, the W25Q256JW with device ID 0x6019 added in CB:40855 and the W25Q256JW_DTR (aka W25Q256JW-IM) with device ID 0x8019 added by this patch.
Winbind W25Q256-series chips have a few device IDs: 0x4019: W25Q256FV 0x6019: W25Q256JW 0x7019: W25Q256JV 0x8019: W25Q256JW_DTR
Hence we need to be more specific with naming than usual to avoid a false positive with wildcards.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/3
Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 3: Code-Review+1
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 3: Code-Review+1
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 3: Code-Review+2
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 3:
(1 comment)
This also needs a rebase 😞
https://review.coreboot.org/c/flashrom/+/42386/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/flashrom/+/42386/3//COMMIT_MSG@13 PS3, Line 13: Winbind Winb*o*nd
Hello Simon Buhrow, build bot (Jenkins), Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/42386
to look at the new patch set (#4).
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
flashchips: Add W25Q256JW_DTR
W25Q256JW currently has two variants, the W25Q256JW with device ID 0x6019 added in CB:40855 and the W25Q256JW_DTR (aka W25Q256JW-IM) with device ID 0x8019 added by this patch.
Winbind W25Q256-series chips have a few device IDs: 0x4019: W25Q256FV 0x6019: W25Q256JW 0x7019: W25Q256JV 0x8019: W25Q256JW_DTR
Hence we need to be more specific with naming than usual to avoid a false positive with wildcards.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/4
Hello build bot (Jenkins), Simon Buhrow, Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/42386
to look at the new patch set (#5).
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
flashchips: Add W25Q256JW_DTR
W25Q256JW currently has two variants, the W25Q256JW with device ID 0x6019 added in CB:40855 and the W25Q256JW_DTR (aka W25Q256JW-IM) with device ID 0x8019 added by this patch.
Winbond W25Q256-series chips have a few device IDs: 0x4019: W25Q256FV 0x6019: W25Q256JW 0x7019: W25Q256JV 0x8019: W25Q256JW_DTR
Hence we need to be more specific with naming than usual to avoid a false positive with wildcards.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/5
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 5:
(1 comment)
https://review.coreboot.org/c/flashrom/+/42386/2/flashchips.h File flashchips.h:
https://review.coreboot.org/c/flashrom/+/42386/2/flashchips.h@948 PS2, Line 948: WINBOND_NEX_W25Q256_JW
Thanks for your last comment. […]
Done
Simon Buhrow has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 5: Code-Review+1
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 5: Code-Review+2
(1 comment)
https://review.coreboot.org/c/flashrom/+/42386/5//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/flashrom/+/42386/5//COMMIT_MSG@10 PS5, Line 10: CB:40855 commit be4682d
Hello Simon Buhrow, build bot (Jenkins), Paul Menzel, Angel Pons,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/42386
to look at the new patch set (#6).
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
flashchips: Add W25Q256JW_DTR
W25Q256JW currently has two variants, the W25Q256JW with device ID 0x6019 added in commit be4682d and the W25Q256JW_DTR (aka W25Q256JW-IM) with device ID 0x8019 added by this patch.
Winbond W25Q256-series chips have a few device IDs: 0x4019: W25Q256FV 0x6019: W25Q256JW 0x7019: W25Q256JV 0x8019: W25Q256JW_DTR
Hence we need to be more specific with naming than usual to avoid a false positive with wildcards.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/86/42386/6
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/flashrom/+/42386/5//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/flashrom/+/42386/5//COMMIT_MSG@10 PS5, Line 10: CB:40855
commit be4682d
Done
David Hendricks has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
Patch Set 6:
(1 comment)
https://review.coreboot.org/c/flashrom/+/42386/3//COMMIT_MSG Commit Message:
https://review.coreboot.org/c/flashrom/+/42386/3//COMMIT_MSG@13 PS3, Line 13: Winbind
Winb*o*nd
Done
David Hendricks has submitted this change. ( https://review.coreboot.org/c/flashrom/+/42386 )
Change subject: flashchips: Add W25Q256JW_DTR ......................................................................
flashchips: Add W25Q256JW_DTR
W25Q256JW currently has two variants, the W25Q256JW with device ID 0x6019 added in commit be4682d and the W25Q256JW_DTR (aka W25Q256JW-IM) with device ID 0x8019 added by this patch.
Winbond W25Q256-series chips have a few device IDs: 0x4019: W25Q256FV 0x6019: W25Q256JW 0x7019: W25Q256JV 0x8019: W25Q256JW_DTR
Hence we need to be more specific with naming than usual to avoid a false positive with wildcards.
Change-Id: I50a6de2c915f9201c458378fcc49130ead73d8c4 Signed-off-by: David Hendricks david.hendricks@gmail.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/42386 Reviewed-by: Simon Buhrow Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M flashchips.c M flashchips.h 2 files changed, 48 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Simon Buhrow: Looks good to me, but someone else must approve
diff --git a/flashchips.c b/flashchips.c index 09ac9b4..8b5b5cc 100644 --- a/flashchips.c +++ b/flashchips.c @@ -16887,6 +16887,53 @@
{ .vendor = "Winbond", + .name = "W25Q256JW_DTR", + .bustype = BUS_SPI, + .manufacture_id = WINBOND_NEX_ID, + .model_id = WINBOND_NEX_W25Q256_DTR, + .total_size = 32768, + .page_size = 256, + /* supports SFDP */ + /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44, read ID 0x4B */ + /* FOUR_BYTE_ADDR: supports 4-bytes addressing mode */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA, + .tested = TEST_OK_PREW, + .probe = probe_spi_rdid, + .probe_timing = TIMING_ZERO, + .block_erasers = + { + { + .eraseblocks = { {4 * 1024, 8192} }, + .block_erase = spi_block_erase_21, + }, { + .eraseblocks = { {4 * 1024, 8192} }, + .block_erase = spi_block_erase_20, + }, { + .eraseblocks = { {32 * 1024, 1024} }, + .block_erase = spi_block_erase_52, + }, { + .eraseblocks = { {64 * 1024, 512} }, + .block_erase = spi_block_erase_dc, + }, { + .eraseblocks = { {64 * 1024, 512} }, + .block_erase = spi_block_erase_d8, + }, { + .eraseblocks = { {32 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_60, + }, { + .eraseblocks = { {32 * 1024 * 1024, 1} }, + .block_erase = spi_block_erase_c7, + } + }, + .printlock = spi_prettyprint_status_register_plain, /* TODO: improve */ + .unlock = spi_disable_blockprotect, + .write = spi_chip_write_256, + .read = spi_chip_read, + .voltage = {1700, 1950}, + }, + + { + .vendor = "Winbond", .name = "W25Q32.V", .bustype = BUS_SPI, .manufacture_id = WINBOND_NEX_ID, diff --git a/flashchips.h b/flashchips.h index 4ae6c07..5b7937f 100644 --- a/flashchips.h +++ b/flashchips.h @@ -948,6 +948,7 @@ #define WINBOND_NEX_W25Q256JV_M 0x7019 /* W25Q256JV_M (QE=0) */ #define WINBOND_NEX_W25Q64JW 0x8017 #define WINBOND_NEX_W25Q128_DTR 0x8018 /* W25Q128JW_DTR */ +#define WINBOND_NEX_W25Q256_DTR 0x8019 /* W25Q256JW_DTR aka W25Q256256JW-IM */
#define WINBOND_ID 0xDA /* Winbond */ #define WINBOND_W19B160BB 0x49