Skip to contentSkip to conversation

Added legacy flash ST Micro M29W040B

PATCH New Niklaus Giger 2 participants 2 messages Dec 8, 2008 – Jan 24, 2009 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added legacy flash ST Micro M29W040B

---
 drivers/mtd/jedec_flash.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
drivers/mtd/jedec_flash.c +14 -0
index 226e1e4..2d99d4d 100644
@@ -215,6 +215,20 @@ static const struct amd_flash_info jedec_table[] = {
 			ERASEINFO(0x01000,128),
 		}
 	},
+	{
+		.mfr_id		= STM_MANUFACT,
+		.dev_id		= STM_ID_M29W040B,
+		.name		= "ST Micro M29W040B",
+		.uaddr		= {
+			[0] = MTD_UADDR_0x0555_0x02AA /* x8 */
+		},
+		.DevSize	= SIZE_512KiB,
+		.CmdSet		= P_ID_AMD_STD,
+		.NumEraseRegions= 1,
+		.regions	= {
+			ERASEINFO(0x10000,8),
+		}
+	},
 #endif
 #ifdef CONFIG_SYS_FLASH_LEGACY_512Kx16
 	{
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 Added legacy flash ST Micro M29W040B

Dear Niklaus Giger,

Quoted 3 lines · In message <[email protected]> you wrote:
---
 drivers/mtd/jedec_flash.c |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Any technology distinguishable from magic is insufficiently advanced.