From: David Wu <davidwu@arcturusnetworks.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V2] AT49BV322A Flash: the erase regions are in the wrong order.
Date: Tue, 13 Apr 2010 12:34:00 -0400 [thread overview]
Message-ID: <op.va30ayfcqigx4y@cyprus.local> (raw)
The device id for this Flash is 0xc8.
Signed-off-by: David Wu <davidwu@arcturusnetworks.com>
---
drivers/mtd/cfi_flash.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index fdba297..af86f99 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -1690,8 +1690,10 @@ static void flash_fixup_atmel(flash_info_t *info,
struct cfi_qry *qry)
/* AT49BV6416(T) list the erase regions in the wrong order.
* However, the device ID is identical with the non-broken
* AT49BV642D they differ in the high byte.
+ * AT49BV322A is also in the wrong order.
*/
- if (info->device_id == 0xd6 || info->device_id == 0xd2)
+ if (info->device_id == 0xd6 || info->device_id == 0xd2 ||
+ info->device_id == 0xc8)
reverse_geometry = !reverse_geometry;
if (reverse_geometry)
--
1.5.6
next reply other threads:[~2010-04-13 16:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-13 16:34 David Wu [this message]
2010-04-14 8:42 ` [U-Boot] [PATCH V2] AT49BV322A Flash: the erase regions are in the wrong order Stefan Roese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=op.va30ayfcqigx4y@cyprus.local \
--to=davidwu@arcturusnetworks.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox