diff options
author | Todd Poynor <tpoynor@mvista.com> | 2005-11-15 23:28:20 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@mtd.linutronix.de> | 2005-11-29 19:27:24 +0100 |
commit | 987d24018dc83d27e491674c50ff2272f51eb719 (patch) | |
tree | 3cef69b2a161db4a194cec81b9f3bd28b009dc0c /drivers/mtd/maps/tsunami_flash.c | |
parent | 3eb8ceac486ed9b6eceed098423f1ca6b180ec9d (diff) |
[MTD] CFI: Use 16-bit access to autoselect/read device id data
Recent models of Intel/Sharp and Spansion CFI flash now have significant
bits in the upper byte of device ID codes, read via what Spansion calls
"autoselect" and Intel calls "read device identifier". Currently these
values are truncated to the low 8 bits in the mtd data structures, as
all CFI read query info has previously been read one byte at a time.
Add a new method for reading 16-bit info, currently just manufacturer
and device codes; datasheets hint at future uses for upper bytes in
other fields.
Signed-off-by: Todd Poynor <tpoynor@mvista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/mtd/maps/tsunami_flash.c')
0 files changed, 0 insertions, 0 deletions