summaryrefslogtreecommitdiffstats
path: root/flashchips.c
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-02-22 15:58:45 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-02-22 15:58:45 +0000
commit352e50b79e084c8f5f768d7b6f2ba6b6bd2ea8ce (patch)
treea0bc1780c6b7940f9d159d4342fa55563da80044 /flashchips.c
parent77fa67d2df7395047476b77946fa807fc851f737 (diff)
downloadast2050-flashrom-352e50b79e084c8f5f768d7b6f2ba6b6bd2ea8ce.zip
ast2050-flashrom-352e50b79e084c8f5f768d7b6f2ba6b6bd2ea8ce.tar.gz
Add a bunch of new/tested stuff and various small changes 17
Tested Mainboards: OK: - Acer V75-M (used in IBM Aptiva 2170-G) http://www.flashrom.org/pipermail/flashrom/2012-December/010300.html - Acorp 6M810C http://www.flashrom.org/pipermail/flashrom/2013-January/010433.html - ASRock G31M-S rev 2.0 http://www.flashrom.org/pipermail/flashrom/2013-February/010538.html - ASUS F1A75-V PRO http://paste.flashrom.org/view.php?id=1528 - ASUS M5A97 (rev. 1.0) http://www.flashrom.org/pipermail/flashrom/2013-February/010483.html - ASUS P5KPL-AM IN/GB http://www.flashrom.org/pipermail/flashrom/2013-January/010455.html - GABYTE GA-H77M-D3H http://www.flashrom.org/pipermail/flashrom/2013-February/010538.html NOT OK: - GIGABYTE GA-Z77MX-D3H http://paste.flashrom.org/view.php?id=1529 http://paste.flashrom.org/view.php?id=1530 Tested flash chips: - Winbond W25X10 to PREW (+PREW) Reported on IRC(?) - Eon EN25Q32(A/B) to PREW (+REW) http://www.flashrom.org/pipermail/flashrom/2013-February/010533.html - Eon EN25Q64 to PREW (+PREW) http://www.flashrom.org/pipermail/flashrom/2013-January/010466.html Miscellaneous: - Fix superflouos line breaks in wiki mainboard and laptop output. - Use the .nh (no hyphenation) command in the manpage to enforce single-line URLs where useful. - Reference the manpage (besides the Laptops wiki page) in the laptop warning. - Minor output and whitespace fixes. - Add Fidelix IDs. - Add ISSE clones of PMC chips. - Fix typo: EMST -> ESMT. - Add ID of ESMT F25D08QA. - Refine GigaDevice GD25Q series (missing voltages and comments). - Use underscore instead of lower-case x as wildcard in Sharp chip names. Corresponding to flashrom svn r1650. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.c')
-rw-r--r--flashchips.c41
1 files changed, 22 insertions, 19 deletions
diff --git a/flashchips.c b/flashchips.c
index b976ee6..d4ab1be 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2713,11 +2713,11 @@ const struct flashchip flashchips[] = {
},
{
- .vendor = "EMST",
+ .vendor = "ESMT",
.name = "F49B002UA",
.bustype = BUS_PARALLEL,
- .manufacture_id = EMST_ID,
- .model_id = EMST_F49B002UA,
+ .manufacture_id = ESMT_ID,
+ .model_id = ESMT_F49B002UA,
.total_size = 256,
.page_size = 4096,
.feature_bits = FEATURE_EITHER_RESET,
@@ -2745,11 +2745,11 @@ const struct flashchip flashchips[] = {
},
{
- .vendor = "EMST",
+ .vendor = "ESMT",
.name = "F25L008A",
.bustype = BUS_SPI,
- .manufacture_id = EMST_ID,
- .model_id = EMST_F25L008A,
+ .manufacture_id = ESMT_ID,
+ .model_id = ESMT_F25L008A,
.total_size = 1024,
.page_size = 256,
.feature_bits = FEATURE_WRSR_EITHER,
@@ -3748,7 +3748,7 @@ const struct flashchip flashchips[] = {
.page_size = 256,
/* OTP: 512B total; enter 0x3A */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- .tested = TEST_OK_PROBE,
+ .tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -3784,7 +3784,7 @@ const struct flashchip flashchips[] = {
.page_size = 256,
/* OTP: 512B total; enter 0x3A */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
- .tested = TEST_UNTESTED,
+ .tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
.block_erasers =
@@ -4248,13 +4248,13 @@ const struct flashchip flashchips[] = {
{
.vendor = "GigaDevice",
- .name = "GD25Q80",
+ .name = "GD25Q80(B)",
.bustype = BUS_SPI,
.manufacture_id = GIGADEVICE_ID,
.model_id = GIGADEVICE_GD25Q80,
.total_size = 1024,
.page_size = 256,
- /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 (B version only) */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
@@ -4293,7 +4293,7 @@ const struct flashchip flashchips[] = {
.model_id = GIGADEVICE_GD25Q16,
.total_size = 2048,
.page_size = 256,
- /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 (B version only) */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
@@ -4326,13 +4326,13 @@ const struct flashchip flashchips[] = {
{
.vendor = "GigaDevice",
- .name = "GD25Q32",
+ .name = "GD25Q32(B)",
.bustype = BUS_SPI,
.manufacture_id = GIGADEVICE_ID,
.model_id = GIGADEVICE_GD25Q32,
.total_size = 4096,
.page_size = 256,
- /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
@@ -4365,13 +4365,13 @@ const struct flashchip flashchips[] = {
{
.vendor = "GigaDevice",
- .name = "GD25Q64",
+ .name = "GD25Q64(B)",
.bustype = BUS_SPI,
.manufacture_id = GIGADEVICE_ID,
.model_id = GIGADEVICE_GD25Q64,
.total_size = 8192,
.page_size = 256,
- /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
@@ -4399,17 +4399,18 @@ const struct flashchip flashchips[] = {
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
.read = spi_chip_read,
+ .voltage = {2700, 3600},
},
{
.vendor = "GigaDevice",
- .name = "GD25Q128",
+ .name = "GD25Q128B",
.bustype = BUS_SPI,
.manufacture_id = GIGADEVICE_ID,
.model_id = GIGADEVICE_GD25Q128,
.total_size = 16384,
.page_size = 256,
- /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42 */
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */
.feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
@@ -4437,6 +4438,7 @@ const struct flashchip flashchips[] = {
.unlock = spi_disable_blockprotect,
.write = spi_chip_write_256,
.read = spi_chip_read,
+ .voltage = {2700, 3600},
},
{
@@ -4447,7 +4449,8 @@ const struct flashchip flashchips[] = {
.model_id = GIGADEVICE_GD25LQ32,
.total_size = 4096,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN,
+ /* OTP: 1024B total, 256B reserved; read 0x48; write 0x42, erase 0x44 */
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -6687,7 +6690,7 @@ const struct flashchip flashchips[] = {
.name = "LH28F008BJT-BTLZ1",
.bustype = BUS_PARALLEL,
.manufacture_id = SHARP_ID,
- .model_id = SHARP_LH28F008BJxxPB,
+ .model_id = SHARP_LH28F008BJ__PB,
.total_size = 1024,
.page_size = 64 * 1024,
.tested = TEST_OK_PREW,
OpenPOWER on IntegriCloud