Add bus type and timing info for some flash chips
Corresponding to flashrom svn r588.
Signed-off-by: Mateusz Murawski <matowy@tlen.pl>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/flashchips.c b/flashchips.c
index 261819c..ccd7a21 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -466,7 +466,7 @@
.page_size = 256,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10000, /* 10ms */
.erase = erase_chip_jedec,
.write = write_jedec,
.read = read_memmapped,
@@ -482,7 +482,7 @@
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10000, /* 10 ms */
.erase = erase_chip_jedec,
.write = write_jedec,
.read = read_memmapped,
@@ -2690,7 +2690,7 @@
.page_size = 128,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_jedec,
.read = read_memmapped,
@@ -2706,7 +2706,7 @@
.page_size = 256,
.tested = TEST_UNTESTED,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_jedec,
.read = read_memmapped,
@@ -2731,14 +2731,14 @@
{
.vendor = "Winbond",
.name = "W39V040A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = WINBOND_ID,
.model_id = W_39V040A,
.total_size = 512,
.page_size = 64*1024,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_49f002,
.read = read_memmapped,
@@ -2747,14 +2747,14 @@
{
.vendor = "Winbond",
.name = "W39V040B",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = WINBOND_ID,
.model_id = W_39V040B,
.total_size = 512,
.page_size = 64*1024,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_49f002,
.read = read_memmapped,
@@ -2763,7 +2763,7 @@
{
.vendor = "Winbond",
.name = "W39V040C",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = WINBOND_ID,
.model_id = W_39V040C,
.total_size = 512,
@@ -2779,14 +2779,14 @@
{
.vendor = "Winbond",
.name = "W39V040FA",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_FWH,
.manufacture_id = WINBOND_ID,
.model_id = W_39V040FA,
.total_size = 512,
.page_size = 64*1024,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_49f002,
.read = read_memmapped,
@@ -2795,14 +2795,14 @@
{
.vendor = "Winbond",
.name = "W39V080A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = WINBOND_ID,
.model_id = W_39V080A,
.total_size = 1024,
.page_size = 64*1024,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_49f002,
.read = read_memmapped,
@@ -2827,14 +2827,14 @@
{
.vendor = "Winbond",
.name = "W49V002A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = WINBOND_ID,
.model_id = W_49V002A,
.total_size = 256,
.page_size = 128,
.tested = TEST_OK_PREW,
.probe = probe_jedec,
- .probe_timing = TIMING_FIXME,
+ .probe_timing = 10,
.erase = erase_chip_jedec,
.write = write_49f002,
.read = read_memmapped,
@@ -2843,7 +2843,7 @@
{
.vendor = "Winbond",
.name = "W49V002FA",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_FWH,
.manufacture_id = WINBOND_ID,
.model_id = W_49V002FA,
.total_size = 256,
@@ -2859,7 +2859,7 @@
{
.vendor = "Winbond",
.name = "W39V080FA",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_FWH,
.manufacture_id = WINBOND_ID,
.model_id = W_39V080FA,
.total_size = 1024,
@@ -2875,7 +2875,7 @@
{
.vendor = "Winbond",
.name = "W39V080FA (dual mode)",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_FWH,
.manufacture_id = WINBOND_ID,
.model_id = W_39V080FA_DM,
.total_size = 512,