On Thursday 17 September 2009, Alexei Babich wrote:
> 1. hwecc{no,1bit,4bit,8bit} (last two only for imx35, but still not sure)
> 2. cs{0,1,2,3} (only for imx35)
> 3. pagesize{512,2048,4096} (force override pin/fuse captured values, last one 
> only for imx35)
> 4. buswidth{8,16} (force override pin/fuse captured values)

Other NAND drivers just have parameters to the "nand device"
registration call for all of those ... except #3, since the
device characteristics are retrieved from the actual NAND
chip found at the relevant address.

The option parsing code will be small; a lot less involved
than supporting multiple hardware ECC modes, for example!

Re "hweccno" ... simplify things, and don't.  Just have the
NAND driver always implement hardware ECC, if its page I/O
calls are used.  Use the generic NAND code to trigger "no
ECC" or "soft ECC" (a 1bit flavor) modes.


> 2. Is OpenOCD interacts correctly with MLC NAND-flash chips with
> large (4096 bytes) pages? 

Should.  It's not like they're any different from SLC except
that they can't be erased very much, right?


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to