From 2c9f48af7315ab7eeba739bec37256b246c64819 Mon Sep 17 00:00:00 2001 From: Mario Schuknecht Date: Mon, 21 Feb 2011 13:13:14 +0100 Subject: [PATCH] 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 --- drivers/mtd/cfi_flash.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.25.1