summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklaus Giger <niklaus.giger@netstal.com>2008-12-08 17:24:08 +0100
committerWolfgang Denk <wd@denx.de>2009-01-24 01:22:22 +0100
commit94f9279f7bbdc01bbc7cf85aedf9b545943b94c3 (patch)
treef63be203d6d7383869205d8003a3fbf0560f7e4f
parent626d07348e5f9f302f4ea182161a89f7362a0488 (diff)
downloadu-boot-imx-94f9279f7bbdc01bbc7cf85aedf9b545943b94c3.zip
u-boot-imx-94f9279f7bbdc01bbc7cf85aedf9b545943b94c3.tar.gz
u-boot-imx-94f9279f7bbdc01bbc7cf85aedf9b545943b94c3.tar.bz2
Added legacy flash ST Micro M29W040B
-rw-r--r--drivers/mtd/jedec_flash.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/mtd/jedec_flash.c b/drivers/mtd/jedec_flash.c
index 226e1e4..2d99d4d 100644
--- a/drivers/mtd/jedec_flash.c
+++ b/drivers/mtd/jedec_flash.c
@@ -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
{