On 10/28/2011 11:29 AM, Tom Rini wrote: > On 10/28/2011 09:00 AM, Scott Wood wrote: >> On 10/27/2011 06:33 PM, Tom Rini wrote: >>> On 10/27/2011 04:22 PM, Scott Wood wrote: >>>> On 10/27/2011 06:13 PM, Tom Rini wrote: >>>>> OK, so, Scott, where would you suggest we put a very trivial set of nand >>>>> infrastructure we need outside of the scope of loading u-boot itself >>>>> from NAND ? >>>> >>>> Can the SPL code be used (not an actual SPL build, just the NAND code >>>> associated with it)? >>> >>> As-is, no, it'll fail to compile unless you fill in a number of blanks >>> about ECC and so forth. >> >> "...with appropriate refactoring" was implied. :-) >> >>> If we split nand_spl_simple.c in two, we might >>> be able to re-use nand_command there (maybe with some re-thinking of the >>> #if logic for big or small pages). Give me filenames and I'll do the >>> work :) >> >> Pick whatever name you think makes sense given what's going to be in it. > > nand_spl_{cmd,read}.c ? _cmd gets the two nand_command() funcs, _read > gets everything else. Work for you?
Could you stick a "simple" in there somewhere? Maybe nand_spl_simple.c and nand_cmd_simple.c (or nand_spl_simple_cmd.c if you want to keep the reference to spl as its primary purpose)? -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot