public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jedec_probe.c
@ 2002-11-11  8:18 Holger Speck
  0 siblings, 0 replies; 18+ messages in thread
From: Holger Speck @ 2002-11-11  8:18 UTC (permalink / raw)
  To: Linux-MTD

Hello,

Below some NumEraseRegions are set to correct values:

--- jedec_probe.c.orig 2002-11-11 09:01:07.000000000 +0100
+++ jedec_probe.c 2002-10-31 11:30:31.000000000 +0100
@@ -43,6 +43,7 @@
 #define AM29F080 0x00D5
 #define AM29F040 0x00A4
 #define AM29LV040B 0x004F
+#define AM29F032B 0x0041
 
 /* Atmel */
 #define AT49BV512 0x0003
@@ -147,6 +148,15 @@
 static const struct amd_flash_info jedec_table[] = {
  {
   mfr_id: MANUFACTURER_AMD,
+  dev_id: AM29F032B,
+  name: "AMD AM29F032B",
+  DevSize: SIZE_4MiB,
+  CmdSet: P_ID_AMD_STD,
+  NumEraseRegions: 1,
+  regions: {ERASEINFO(0x10000,64)
+  }
+ }, {
+  mfr_id: MANUFACTURER_AMD,
   dev_id: AM29LV160DT,
   name: "AMD AM29LV160DT",
   DevSize: SIZE_2MiB,
@@ -199,7 +209,7 @@
   name: "Toshiba TC58FVB321",
   DevSize: SIZE_4MiB,
   CmdSet: P_ID_AMD_STD,
-  NumEraseRegions: 4,
+  NumEraseRegions: 2,
   regions: {ERASEINFO(0x02000,8),
      ERASEINFO(0x10000,63)
   }
@@ -209,7 +219,7 @@
   name: "Toshiba TC58FVT321",
   DevSize: SIZE_4MiB,
   CmdSet: P_ID_AMD_STD,
-  NumEraseRegions: 4,
+  NumEraseRegions: 2,
   regions: {ERASEINFO(0x10000,63),
      ERASEINFO(0x02000,8)
   }
@@ -219,7 +229,7 @@
   name: "Toshiba TC58FVB641",
   DevSize: SIZE_8MiB,
   CmdSet: P_ID_AMD_STD,
-  NumEraseRegions: 4,
+  NumEraseRegions: 2,
   regions: {ERASEINFO(0x02000,8),
      ERASEINFO(0x10000,127)
   }
@@ -229,7 +239,7 @@
   name: "Toshiba TC58FVT641",
   DevSize: SIZE_8MiB,
   CmdSet: P_ID_AMD_STD,
-  NumEraseRegions: 4,
+  NumEraseRegions: 2,
   regions: {ERASEINFO(0x10000,127),
      ERASEINFO(0x02000,8)
   }

Holger

^ permalink raw reply	[flat|nested] 18+ messages in thread
* jedec_probe.c
@ 2003-07-05  2:32 Joshua Wise
  2003-07-05  5:03 ` jedec_probe.c Joshua Wise
  2003-07-07 14:51 ` jedec_probe.c Thayne Harbaugh
  0 siblings, 2 replies; 18+ messages in thread
From: Joshua Wise @ 2003-07-05  2:32 UTC (permalink / raw)
  To: linux-mtd

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I've added a new flash chip to the jedec_probe.c definitions, and it seems 
that it's throwing back errors that the unlock codes don't match. I've 
tracked this down to jedec_probe_chip's cfi->addr_unlock* garbage - it does 
look like that function will need to be rewritten. Has anyone already started 
this, or should I just go ahead?

~joshua

- -- 
Joshua Wise | www.joshuawise.com
GPG Key     | 0xEA80E0B3
Quote       | <lilo> I akilled *@* by mistake
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BjjLPn9tWOqA4LMRAkOnAJ9pIVC8b1nSW3lXJZhcnnMa+uSCQACgjUsJ
fK4lWnznSpEloOaklDaQRdg=
=7gh4
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-07-08 15:08 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11  8:18 jedec_probe.c Holger Speck
  -- strict thread matches above, loose matches on Subject: below --
2003-07-05  2:32 jedec_probe.c Joshua Wise
2003-07-05  5:03 ` jedec_probe.c Joshua Wise
2003-07-05 13:38   ` jedec_probe.c Eric W. Biederman
2003-07-05 18:20     ` jedec_probe.c Joshua Wise
     [not found]     ` <200307051406.08109.joshua@joshuawise.com>
2003-07-05 23:19       ` jedec_probe.c Eric W. Biederman
2003-07-06  1:57         ` jedec_probe.c Joshua Wise
2003-07-06  2:11           ` jedec_probe.c Eric W. Biederman
2003-07-06  2:15             ` jedec_probe.c Joshua Wise
2003-07-06  2:50               ` jedec_probe.c Eric W. Biederman
2003-07-06  3:13                 ` jedec_probe.c Joshua Wise
2003-07-06  3:29                   ` jedec_probe.c Eric W. Biederman
2003-07-07 14:52               ` jedec_probe.c Thayne Harbaugh
2003-07-08  8:21                 ` jedec_probe.c David Woodhouse
2003-07-08 15:08                   ` jedec_probe.c Thayne Harbaugh
2003-07-08  7:48               ` jedec_probe.c David Woodhouse
2003-07-07 15:38         ` jedec_probe.c Thayne Harbaugh
2003-07-07 14:51 ` jedec_probe.c Thayne Harbaugh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox