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

Wolfgang Denk wd at denx.de
Thu Jan 11 00:53:24 CET 2007


In message <45A5776C.9060409 at freescale.com> you wrote:
> 
> > CONFIG_LOADADDR is the value used to initialize the "loadaddr"
> > variable in the default environment.
...
> > 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?

Define CONFIG_LOADADDR.

But, as mentioned implicitely before, I see little reason  to  define
the "loadaddr" variable at all.

Define CFG_LOAD_ADDR, and that's it. Having more than one defualt
value seems a broken design to me.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"A dirty mind is a joy forever."                       - Randy Kunkee




More information about the U-Boot mailing list