diff options
author | Trent Piepho <tpiepho@freescale.com> | 2008-03-30 21:19:29 -0700 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 21:16:09 +0100 |
commit | fecb8865def541ff38f59ef3caf0cbd09f4fc9fd (patch) | |
tree | 0e407d1f17584399b158e2ef4028c9321960726d /fs/compat.c | |
parent | 0ff6631be150702ed4c92b46b77941affee866ba (diff) | |
download | linux-fecb8865def541ff38f59ef3caf0cbd09f4fc9fd.tar.gz linux-fecb8865def541ff38f59ef3caf0cbd09f4fc9fd.tar.bz2 linux-fecb8865def541ff38f59ef3caf0cbd09f4fc9fd.zip |
[MTD] [NOR] Read extended device ID from AMD/Spansion CFI flash chips
AMD/Spansion use a device id of 0x7e to indicate an extended device is
present at offset 0xe and 0xf in the query data.
I've verified with Spansion that all their chips (mfr == 0x01) with an id
of 0x7e use it to indicate an extended id is present. What's more, there
are no chips with a NON-extended id that is the same as a different chip's
extended id. In other words, when the extended ID is present, one can
replace the normal id with the extended id without losing any information.
Which is what I've done.
Signed-off-by: Trent Piepho <tpiepho@freescale.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'fs/compat.c')
0 files changed, 0 insertions, 0 deletions