[U-Boot-Users] CFG_LOAD_ADDR vs. CONFIG_LOADADDR vs. CFG_TFTP_LOADADDR

Timur Tabi timur at freescale.com
Thu Jan 11 00:31:56 CET 2007


Wolfgang Denk wrote:

>> What's the difference between CFG_LOAD_ADDR and CONFIG_LOADADDR?  Looking at the 
> 
> One underscore, a 'O', a 'N', and a 'I' ;-)

Otto Waalkes could take lessons from you.

> CFG_LOAD_ADDR is what you are supposed to use in the code.
> 
> CONFIG_LOADADDR is the value used to initialize the "loadaddr"
> variable in the default environment.
> 
>> code, it looks like their both used as default load addresses, but I don't see 
>> why they should have different values (they do in most header files).
> 
> I see little reason to define CONFIG_LOADADDR at all.

Then what's the best way to define a default value for the "loadaddr" variable?

-- 
Timur Tabi
Linux Kernel Developer @ Freescale




More information about the U-Boot mailing list