From: David Woodhouse <dwmw2@infradead.org>
To: Brett Carswell <BrettC@nulec.com.au>
Cc: "'mtd@infradead.org'" <mtd@infradead.org>
Subject: Re: CFI with 4 x8/x16 devices on a 32-bit bus
Date: Tue, 10 Apr 2001 02:53:25 +0100 [thread overview]
Message-ID: <9836.986867605@redhat.com> (raw)
In-Reply-To: <1072F1A27E99D3119747005004B9A380EB98B0@MAIL>
BrettC@nulec.com.au said:
> My take on the datasheet is that when in byte mode, A-1 becomes the
> LSB of the address.
OK,... looking at the (AM29LV320D) datasheet again, I see that.
> The unlock 2 address in word mode is 0x2AA (8 bits set to 1) and byte mode
> is 0x555 (9 bits set to 1).
Ah, yes - I see that too. I find it very concerning that the datasheet is
clearer to me at 2:30 in the morning than at any other time.
OK.... how about fixing it up in the probe code to appear as an 8-bit
device, and setting the unlock[12] addresses accordingly?
If we detect it's a 16-bit device in 8-bit mode, do...
cfi->device_type = 1;
cfi->addr_unlock1 = 0xaaa;
cfi->addr_unlock2 = 0x555;
Does that work?
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2001-04-10 1:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-09 23:34 CFI with 4 x8/x16 devices on a 32-bit bus Brett Carswell
2001-04-10 0:27 ` Nicolas Pitre
2001-04-10 1:55 ` David Woodhouse
2001-04-10 1:53 ` David Woodhouse [this message]
2001-04-10 2:01 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2001-04-17 14:59 Joakim Tjernlund
2001-04-17 15:23 ` David Woodhouse
2001-04-17 15:51 ` Joakim Tjernlund
2001-04-17 15:53 ` David Woodhouse
2001-04-17 16:26 ` Joakim Tjernlund
2001-04-14 16:54 Kári Davíðsson
2001-04-12 12:41 Kári Davíðsson
2001-04-12 13:52 ` Joakim Tjernlund
2001-04-17 13:57 ` David Woodhouse
2001-04-11 15:05 Joakim Tjernlund
2001-04-10 7:30 Brett Carswell
2001-04-17 14:13 ` David Woodhouse
2001-04-05 22:58 Brett Carswell
2001-04-06 13:45 ` David Woodhouse
2001-04-06 14:12 ` David Woodhouse
2001-04-09 16:24 ` Joakim Tjernlund
2001-04-05 7:32 Brett Carswell
2001-04-05 14:09 ` David Woodhouse
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=9836.986867605@redhat.com \
--to=dwmw2@infradead.org \
--cc=BrettC@nulec.com.au \
--cc=mtd@infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.