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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot