cfi-flash: Add definition for the AM29LV800BB AMD NOR-flash
authorGuennadi Liakhovetski <lg@denx.de>
Tue, 5 Aug 2008 13:36:39 +0000 (15:36 +0200)
committerStefan Roese <sr@denx.de>
Wed, 6 Aug 2008 12:19:06 +0000 (14:19 +0200)
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/jedec_flash.c

index 9845e9364ed06078dee9b46910f9ce5cc79993a8..020647a7caf058cb64cb7616fcb84290367addf6 100644 (file)
@@ -234,6 +234,23 @@ static const struct amd_flash_info jedec_table[] = {
                        ERASEINFO(0x10000,7),
                }
        },
+       {
+               .mfr_id         = MANUFACTURER_AMD,
+               .dev_id         = AM29LV800BB,
+               .name           = "AMD AM29LV800BB",
+               .uaddr          = {
+                       [1] = MTD_UADDR_0x0555_0x02AA /* x16 */
+               },
+               .DevSize        = SIZE_1MiB,
+               .CmdSet         = CFI_CMDSET_AMD_LEGACY,
+               .NumEraseRegions= 4,
+               .regions        = {
+                       ERASEINFO(0x04000, 1),
+                       ERASEINFO(0x02000, 2),
+                       ERASEINFO(0x08000, 1),
+                       ERASEINFO(0x10000, 15),
+               }
+       },
 #endif
 };