summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMario Schuknecht <m.schuknecht@dresearch.de>2011-02-21 13:13:14 +0100
committerStefan Roese <sr@denx.de>2011-04-07 10:10:47 +0200
commit2c9f48af7315ab7eeba739bec37256b246c64819 (patch)
tree74395808ed4eb20fb49ad2dd625ebaa5c2c5da1c /drivers
parent4db2fa7f9446d0f2fe8db3d62184b1212fe22707 (diff)
downloadu-boot-imx-2c9f48af7315ab7eeba739bec37256b246c64819.zip
u-boot-imx-2c9f48af7315ab7eeba739bec37256b246c64819.tar.gz
u-boot-imx-2c9f48af7315ab7eeba739bec37256b246c64819.tar.bz2
cfi_flash: use AMD fixups for AMIC (e.g. A29L160A series) too
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/cfi_flash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 0909fe7..d5e67ea 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: