diff options
author | Jonas Holmberg <jonas.holmberg@axis.com> | 2005-02-04 02:43:13 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-05-23 06:21:41 -0400 |
commit | 322b12eb57db8cc598ccedfb85fcf2faded08473 (patch) | |
tree | 4345bcef9c1626a8e35c05f2ac4f4ba78b265527 | |
parent | 8aee6ac1446d6e2cb69908facbaccc0dfb4f1145 (diff) |
[MTD] amd_flash: Fix chip ID clash
* Removed table entry for AM29BDS643D, since device ID clashes with AM29DL640G
and both chips support CFI.
Signed-off-by: Jonas Holmberg <jonas.holmberg@axis.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | drivers/mtd/chips/amd_flash.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/mtd/chips/amd_flash.c b/drivers/mtd/chips/amd_flash.c index 41e2e3e31603..2dafeba3f3d5 100644 --- a/drivers/mtd/chips/amd_flash.c +++ b/drivers/mtd/chips/amd_flash.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Author: Jonas Holmberg <jonas.holmberg@axis.com> | 4 | * Author: Jonas Holmberg <jonas.holmberg@axis.com> |
5 | * | 5 | * |
6 | * $Id: amd_flash.c,v 1.26 2004/11/20 12:49:04 dwmw2 Exp $ | 6 | * $Id: amd_flash.c,v 1.27 2005/02/04 07:43:09 jonashg Exp $ |
7 | * | 7 | * |
8 | * Copyright (c) 2001 Axis Communications AB | 8 | * Copyright (c) 2001 Axis Communications AB |
9 | * | 9 | * |
@@ -67,7 +67,6 @@ | |||
67 | #define AM29LV160DT 0x22C4 | 67 | #define AM29LV160DT 0x22C4 |
68 | #define AM29LV160DB 0x2249 | 68 | #define AM29LV160DB 0x2249 |
69 | #define AM29BDS323D 0x22D1 | 69 | #define AM29BDS323D 0x22D1 |
70 | #define AM29BDS643D 0x227E | ||
71 | 70 | ||
72 | /* Atmel */ | 71 | /* Atmel */ |
73 | #define AT49xV16x 0x00C0 | 72 | #define AT49xV16x 0x00C0 |
@@ -618,17 +617,6 @@ static struct mtd_info *amd_flash_probe(struct map_info *map) | |||
618 | { .offset = 0x3f0000, .erasesize = 0x02000, .numblocks = 8 }, | 617 | { .offset = 0x3f0000, .erasesize = 0x02000, .numblocks = 8 }, |
619 | } | 618 | } |
620 | }, { | 619 | }, { |
621 | .mfr_id = MANUFACTURER_AMD, | ||
622 | .dev_id = AM29BDS643D, | ||
623 | .name = "AMD AM29BDS643D", | ||
624 | .size = 0x00800000, | ||
625 | .numeraseregions = 3, | ||
626 | .regions = { | ||
627 | { .offset = 0x000000, .erasesize = 0x10000, .numblocks = 96 }, | ||
628 | { .offset = 0x600000, .erasesize = 0x10000, .numblocks = 31 }, | ||
629 | { .offset = 0x7f0000, .erasesize = 0x02000, .numblocks = 8 }, | ||
630 | } | ||
631 | }, { | ||
632 | .mfr_id = MANUFACTURER_ATMEL, | 620 | .mfr_id = MANUFACTURER_ATMEL, |
633 | .dev_id = AT49xV16x, | 621 | .dev_id = AT49xV16x, |
634 | .name = "Atmel AT49xV16x", | 622 | .name = "Atmel AT49xV16x", |