
19 May
2015
19 May
'15
12:41 a.m.
On Mon, 2015-05-18 at 15:10 -0700, Andrei Yakimov wrote:
I will try, It will take a while due to I am not working with latest code. I do have a chip with first 2 parameter blocks corrupted. So I can test it. I can not send it to Linux - I am not subscribed to any Linux mailing lists.
You don't need to be subscribed to a list to send a patch (but it does need to be based on the latest upstream tree).
As of patch structure:
- separate READID and PARAM command.
- READID will read 5 bytes as per ONFI spec.
- PARAM command will read 768 bytes as per ONFI spec.
I will check is path to send read size are valid for this command - but it will affect every NAND driver,
It wouldn't affect every NAND driver. There should be a default implementation that calls cmdfunc, so that things work the same way as now unless a driver overrides it.
-Scott