Commit 161b885d authored by Urja Rannikko's avatar Urja Rannikko Committed by Carl-Daniel Hailfinger
Browse files

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: default avatarUrja Rannikko <urjaman@gmail.com>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent 33269a75
...@@ -427,7 +427,7 @@ struct flashchip flashchips[] = { ...@@ -427,7 +427,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT29C010A", .name = "AT29C010A",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_29C010A, .model_id = AT_29C010A,
.total_size = 128, .total_size = 128,
...@@ -443,7 +443,7 @@ struct flashchip flashchips[] = { ...@@ -443,7 +443,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT29C020", .name = "AT29C020",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_29C020, .model_id = AT_29C020,
.total_size = 256, .total_size = 256,
...@@ -459,7 +459,7 @@ struct flashchip flashchips[] = { ...@@ -459,7 +459,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT29C040A", .name = "AT29C040A",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_29C040A, .model_id = AT_29C040A,
.total_size = 512, .total_size = 512,
...@@ -610,7 +610,7 @@ struct flashchip flashchips[] = { ...@@ -610,7 +610,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT49BV512", .name = "AT49BV512",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_49BV512, .model_id = AT_49BV512,
.total_size = 64, .total_size = 64,
...@@ -626,7 +626,7 @@ struct flashchip flashchips[] = { ...@@ -626,7 +626,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT49F002(N)", .name = "AT49F002(N)",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_49F002N, .model_id = AT_49F002N,
.total_size = 256, .total_size = 256,
...@@ -642,7 +642,7 @@ struct flashchip flashchips[] = { ...@@ -642,7 +642,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Atmel", .vendor = "Atmel",
.name = "AT49F002(N)T", .name = "AT49F002(N)T",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = ATMEL_ID, .manufacture_id = ATMEL_ID,
.model_id = AT_49F002NT, .model_id = AT_49F002NT,
.total_size = 256, .total_size = 256,
...@@ -705,7 +705,7 @@ struct flashchip flashchips[] = { ...@@ -705,7 +705,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "AMIC", .vendor = "AMIC",
.name = "A29040B", .name = "A29040B",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = AMIC_ID_NOPREFIX, .manufacture_id = AMIC_ID_NOPREFIX,
.model_id = AMIC_A29040B, .model_id = AMIC_A29040B,
.total_size = 512, .total_size = 512,
...@@ -721,7 +721,7 @@ struct flashchip flashchips[] = { ...@@ -721,7 +721,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "AMIC", .vendor = "AMIC",
.name = "A49LF040A", .name = "A49LF040A",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_LPC,
.manufacture_id = AMIC_ID_NOPREFIX, .manufacture_id = AMIC_ID_NOPREFIX,
.model_id = AMIC_A49LF040A, .model_id = AMIC_A49LF040A,
.total_size = 512, .total_size = 512,
...@@ -737,7 +737,7 @@ struct flashchip flashchips[] = { ...@@ -737,7 +737,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "EMST", .vendor = "EMST",
.name = "F49B002UA", .name = "F49B002UA",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EMST_ID, .manufacture_id = EMST_ID,
.model_id = EMST_F49B002UA, .model_id = EMST_F49B002UA,
.total_size = 256, .total_size = 256,
...@@ -753,7 +753,7 @@ struct flashchip flashchips[] = { ...@@ -753,7 +753,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "EON", .vendor = "EON",
.name = "EN29F002(A)(N)B", .name = "EN29F002(A)(N)B",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EON_ID, .manufacture_id = EON_ID,
.model_id = EN_29F002B, .model_id = EN_29F002B,
.total_size = 256, .total_size = 256,
...@@ -769,7 +769,7 @@ struct flashchip flashchips[] = { ...@@ -769,7 +769,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "EON", .vendor = "EON",
.name = "EN29F002(A)(N)T", .name = "EN29F002(A)(N)T",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = EON_ID, .manufacture_id = EON_ID,
.model_id = EN_29F002T, .model_id = EN_29F002T,
.total_size = 256, .total_size = 256,
...@@ -849,7 +849,7 @@ struct flashchip flashchips[] = { ...@@ -849,7 +849,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Intel", .vendor = "Intel",
.name = "28F001BX-B", .name = "28F001BX-B",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = INTEL_ID, .manufacture_id = INTEL_ID,
.model_id = P28F001BXB, .model_id = P28F001BXB,
.total_size = 128, .total_size = 128,
...@@ -865,7 +865,7 @@ struct flashchip flashchips[] = { ...@@ -865,7 +865,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Intel", .vendor = "Intel",
.name = "28F001BX-T", .name = "28F001BX-T",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = INTEL_ID, .manufacture_id = INTEL_ID,
.model_id = P28F001BXT, .model_id = P28F001BXT,
.total_size = 128, .total_size = 128,
...@@ -2436,7 +2436,7 @@ struct flashchip flashchips[] = { ...@@ -2436,7 +2436,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Winbond", .vendor = "Winbond",
.name = "W29C020C", .name = "W29C020C",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = WINBOND_ID, .manufacture_id = WINBOND_ID,
.model_id = W_29C020C, .model_id = W_29C020C,
.total_size = 256, .total_size = 256,
...@@ -2452,7 +2452,7 @@ struct flashchip flashchips[] = { ...@@ -2452,7 +2452,7 @@ struct flashchip flashchips[] = {
{ {
.vendor = "Winbond", .vendor = "Winbond",
.name = "W29C040P", .name = "W29C040P",
.bustype = CHIP_BUSTYPE_NONSPI, .bustype = CHIP_BUSTYPE_PARALLEL,
.manufacture_id = WINBOND_ID, .manufacture_id = WINBOND_ID,
.model_id = W_29C040P, .model_id = W_29C040P,
.total_size = 512, .total_size = 512,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment