CFI

Alexandr Rybalko ray at dlink.ua
Fri Jun 12 08:09:38 UTC 2009


Good day!

Writing to you Warner because you made cfi driver.
I found what Spansion S29AL032D90TFII03 and S29GL064A90TFI03 detect in byte mode on addresses shifted by 1,
and in chip manual I found what, 
in byte mode we read on shifted address (like 0x20 for 'Q'),
in word mode we read on non shifted address (like 0x10 for 'Q')

So if we wont to use same driver for any CFI chips, we need to test on shifted addresses.

Temporary I change
val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs);
to
val = bus_space_read_1(sc->sc_tag, sc->sc_handle, ofs<<1);

And chip detect correctly.

Thunks.

-- 
Alexandr Rybalko <ray at dlink.ua>


More information about the freebsd-mips mailing list