From: Mario Schuknecht Date: Mon, 21 Feb 2011 12:13:14 +0000 (+0100) Subject: cfi_flash: use AMD fixups for AMIC (e.g. A29L160A series) too X-Git-Tag: v2011.06-rc1~184 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2c9f48af7315ab7eeba739bec37256b246c64819;p=oweals%2Fu-boot.git cfi_flash: use AMD fixups for AMIC (e.g. A29L160A series) too Signed-off-by: Mario Schuknecht Signed-off-by: Steffen Sledz Signed-off-by: Stefan Roese --- diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 0909fe715a..d5e67eaf19 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_flash.c @@ -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: