]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Added legacy flash ST Micro M29W040B
authorNiklaus Giger <niklaus.giger@netstal.com>
Mon, 8 Dec 2008 16:24:08 +0000 (17:24 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 24 Jan 2009 00:22:22 +0000 (01:22 +0100)
drivers/mtd/jedec_flash.c

index 226e1e418fe3a8a7229869fcff4164bbd1932d2d..2d99d4d9a3fc8342e9c2731c9090888f92cec0fc 100644 (file)
@@ -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
        {