Specify the exact bus type for a number of flash chips
Exact bustypes for Atmel AT29C010A, AT29C020, AT29C040A, AT49BV512,
AT49F002, AMIC A29040B, A49LF040A, EMST F49B002UA, EON EN29F002, Intel
28F001BX-B, 28F001BX-T, Winbond W29C020C and W29C040P. Checked from
datasheets. A49LF040A is LPC, others parallel.
Corresponding to flashrom svn r574.
Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/flashchips.c b/flashchips.c
index 48378c8..8dc0ce1 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -427,7 +427,7 @@
{
.vendor = "Atmel",
.name = "AT29C010A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_29C010A,
.total_size = 128,
@@ -443,7 +443,7 @@
{
.vendor = "Atmel",
.name = "AT29C020",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_29C020,
.total_size = 256,
@@ -459,7 +459,7 @@
{
.vendor = "Atmel",
.name = "AT29C040A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_29C040A,
.total_size = 512,
@@ -610,7 +610,7 @@
{
.vendor = "Atmel",
.name = "AT49BV512",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_49BV512,
.total_size = 64,
@@ -626,7 +626,7 @@
{
.vendor = "Atmel",
.name = "AT49F002(N)",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_49F002N,
.total_size = 256,
@@ -642,7 +642,7 @@
{
.vendor = "Atmel",
.name = "AT49F002(N)T",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID,
.model_id = AT_49F002NT,
.total_size = 256,
@@ -705,7 +705,7 @@
{
.vendor = "AMIC",
.name = "A29040B",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = AMIC_ID_NOPREFIX,
.model_id = AMIC_A29040B,
.total_size = 512,
@@ -721,7 +721,7 @@
{
.vendor = "AMIC",
.name = "A49LF040A",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = AMIC_ID_NOPREFIX,
.model_id = AMIC_A49LF040A,
.total_size = 512,
@@ -737,7 +737,7 @@
{
.vendor = "EMST",
.name = "F49B002UA",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EMST_ID,
.model_id = EMST_F49B002UA,
.total_size = 256,
@@ -753,7 +753,7 @@
{
.vendor = "EON",
.name = "EN29F002(A)(N)B",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EON_ID,
.model_id = EN_29F002B,
.total_size = 256,
@@ -769,7 +769,7 @@
{
.vendor = "EON",
.name = "EN29F002(A)(N)T",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EON_ID,
.model_id = EN_29F002T,
.total_size = 256,
@@ -849,7 +849,7 @@
{
.vendor = "Intel",
.name = "28F001BX-B",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = INTEL_ID,
.model_id = P28F001BXB,
.total_size = 128,
@@ -865,7 +865,7 @@
{
.vendor = "Intel",
.name = "28F001BX-T",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = INTEL_ID,
.model_id = P28F001BXT,
.total_size = 128,
@@ -2436,7 +2436,7 @@
{
.vendor = "Winbond",
.name = "W29C020C",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = WINBOND_ID,
.model_id = W_29C020C,
.total_size = 256,
@@ -2452,7 +2452,7 @@
{
.vendor = "Winbond",
.name = "W29C040P",
- .bustype = CHIP_BUSTYPE_NONSPI,
+ .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = WINBOND_ID,
.model_id = W_29C040P,
.total_size = 512,