
John Rigby wrote:
No I have not tested on mx27. I don't have any hw. If someone could test it that would be great. Also I really don't know if the syndrome stuff is needed.
I was just about to comment on that. :-)
At a first glance it looks like you'll need either some custom read/write page, or complicated read_buf/write_buf -- but I'm not sure that all of the stuff being done in the syndrome functions is needed (or even that the syndrome functions are a good starting point), and this driver already has complicated read/write_buf that could probably be tweaked to work with this chip.
This is a straight port from KARO's linux driver (not mainline) that I know works on mx25. If someone can verify that it works on mx27 and/or mx31 I would like to get it accepted as is (with fixes above). After it is in I will go back and try to clean it up some more.
OK.
-Scott