
16 Sep
2013
16 Sep
'13
11:16 p.m.
On Mon, 2013-09-16 at 11:19 +0000, Gupta, Pekon wrote:
Instead, should I make it more generic for all SoC ? like CONFIG_SYS_NAND_ECCSCHEME can take in following strings defining ECC scheme used by NAND driver in SPL boot: "ham1" - 1 bit hamming code "bch4" - 4-bit BCH ecc code "bch8" - 8-bit BCH ecc code "bch16" - 16-bit BCH ecc code
Most drivers would probably prefer symbolically-defined numbers rather than strings. Plus, there could be more subtle variations such as layout differences. Best to keep it OMAP-specific.
-Scott