[PATCH] mtd: nand: fix byte addressing on 16-bit wide devices
Ezequiel Garcia
ezequiel.garcia at free-electrons.com
Fri Mar 21 14:05:47 EDT 2014
Hi David,
On Mar 21, David Mosberger wrote:
> This is a revised version of a patch that I submitted a while ago.
> It's relative to linux-mtd.
> Please apply.
>
> Thanks!
>
> --david
> --
> eGauge Systems LLC, http://egauge.net/, 1.877-EGAUGE1, fax 720.545.9768
> mtd: nand: fix byte adressing on 16-bit wide devices
>
> Some commands (READID, GET_FEATURES, and SET_FEATURES) require
> byte-addresses even when the databus is 16 bits wide. Without this
> patch, 16-bit wide devices are unable to detect ONFI.
>
I haven't looked at your patch, but I think this is already fixed.
You can take a look at these commits:
bd9c6e99b58255b9de1982711ac9487c9a2f18be
3dad2344e92c6e1aeae42df1c4824f307c51bcc7
AFAIK, the READID command data is now issued as 8-bit, disregarding of
NAND_BUSWIDTH_16.
Maybe you can re-test this building a kernel from linux-next.git and
report if your issues are now fixed?
Thanks!
--
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com
More information about the linux-mtd
mailing list