[U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support
Scott Wood
scottwood at freescale.com
Tue Oct 7 19:26:14 CEST 2008
On Tue, Oct 07, 2008 at 11:42:38AM +0200, Dirk Behme wrote:
>> Is it OK if config gets written before control, or if this whole thing
>> gets done out of order with respect to other raw writes?
>
> Hmm. I replaced this with the version from Nishanth's U-Boot v2 (see
> link above). If this isn't ok, can you explain a little more?
I was referring to the raw accessors, which you removed, so it's OK.
> I.e. with patch in attachment we don't touch nand_base.c any more, but
> still have an #ifdeffed user command in cmd_nand.c. If you don't like
> this, please give a hint how to better do this.
If at all possible, fix Linux to accept hardware ECC.
Otherwise, either add something to the MTD API that the nand command can
call, or have your own board-specific command defined in the board file.
Don't put platform-specific ifdefs in generic files.
-Scott
More information about the U-Boot
mailing list