
16 Nov
2012
16 Nov
'12
9:19 p.m.
On 11/16/2012 02:18:51 PM, Scott Wood wrote:
On 11/16/2012 02:15:33 PM, Benoît Thébaudeau wrote:
The EFIKA MX Smartbook probably has MLC if we consider its NAND size. 4-kiB pages should be supported by nand_spl/nand_boot_fsl_nfc.c, but not yet by drivers/mtd/nand/mxc_nand.c. The latter currently has a CONFIG_SYS_NAND_LARGEPAGE to differentiate 512-B and 2-kiB pages. If we were to add support for 4-kiB pages to this driver, I think that this should be replaced with a CONFIG_SYS_NAND_PAGE_SIZE like in nand_boot_fsl_nfc.c. Do you agree?
Yes.
...or use the runtime detection if practical.
-Scott