cfi_flash: use AMD fixups for AMIC (e.g. A29L160A series) too
authorMario Schuknecht <m.schuknecht@dresearch.de>
Mon, 21 Feb 2011 12:13:14 +0000 (13:13 +0100)
committerStefan Roese <sr@denx.de>
Thu, 7 Apr 2011 08:10:47 +0000 (10:10 +0200)
Signed-off-by: Mario Schuknecht <m.schuknecht@dresearch.de>
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c

index 0909fe715ac4a1962d742ce704f0506d3d969e20..d5e67eaf193a93b6785753617eafabb226c58c9c 100644 (file)
@@ -1929,7 +1929,8 @@ ulong flash_get_size (phys_addr_t base, int banknum)
 
                /* Do manufacturer-specific fixups */
                switch (info->manufacturer_id) {
-               case 0x0001:
+               case 0x0001: /* AMD */
+               case 0x0037: /* AMIC */
                        flash_fixup_amd(info, &qry);
                        break;
                case 0x001f: