
On Tue, 23 Nov 2010 21:57:04 +0100 Wolfgang Denk wd@denx.de wrote:
Dear Haiying Wang,
In message 1290525198.1932.3.camel@haiying-laptop you wrote:
Please use only one such name (CONFIG_SYS_TPL_BOOT).
CONFIG_SYS_TPL_BOOT is used as CONFIG_NAND_U_BOOT in Makefile and header file. CONFIG_TPL_BOOT is used as CONFIG_NAND_SPL in header file.
I'm sorry, but I have to admit that I don;t understand what you are trying to tell me.
Why do you need XXX when you use it as YYY? Why don't you use YYY directly?
CONFIG_NAND_U_BOOT indicates that there is a NAND SPL involved, and is set in both build stages.
CONFIG_NAND_SPL is set only when building the SPL code itself.
When Haiying said "used as CONFIG_NAND_...", I believe she meant that the difference between these two symbols is analagous to the difference between the two NAND symbols -- not that they can be used interchangeably.
I think the names need to be differentiated by more than just "_SYS", though.
-Scott