This adds the following: - missing feature_bits to indicate WREN required before WRSR and the presence of OTP bytes - a comment mentioning SFDP support - voltage range
Signed-off-by: David Hendricks dhendrix@google.com
Index: flashchips.c =================================================================== --- flashchips.c (revision 1553) +++ flashchips.c (working copy) @@ -5431,6 +5431,9 @@ .model_id = ST_N25Q064, .total_size = 8192, .page_size = 256, + /* supports SFDP */ + /* OTP: 64B total; read 0x4B, write 0x42 */ + .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -5450,6 +5453,7 @@ .unlock = spi_disable_blockprotect, .write = spi_chip_write_256, .read = spi_chip_read, + .voltage = {2700, 3600}, },
{