[U-Boot-Users] [PATCH] mx31ads: fix loadaddr environment variable define

Wolfgang Denk wd at denx.de
Sun Apr 27 23:44:42 CEST 2008


In message <Pine.LNX.4.64.0804272210370.6246 at axis700.grange> you wrote:
>
> > 2. dhcp command is undefined, only bootp is available.
> 
> It wasn't needed in the environment the configuration has been programmed 
> for. Patches are welcome:-)

Please add it. It's default...

> Thanks
> Guennadi
> 
>  include/configs/mx31ads.h |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/include/configs/mx31ads.h b/include/configs/mx31ads.h
> index 5286e1f..301afd5 100644
> --- a/include/configs/mx31ads.h
> +++ b/include/configs/mx31ads.h
> @@ -87,7 +87,7 @@
>  #define CONFIG_NETMASK		255.255.255.0
>  #define CONFIG_IPADDR		192.168.23.168
>  #define CONFIG_SERVERIP		192.168.23.2
> -#define CONFIG_LOADADDR		(CSD0_BASE + 0x800000)	/* loadaddr env var */
> +#define CONFIG_LOADADDR		0x80800000	/* loadaddr env var */

And while we are at it: Please remove all these default network
settings. I don't like these at all.

Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The further the spiritual evolution of  mankind  advances,  the  more
certain  it seems to me that the path to genuine religiosity does not
lie through the fear of life, and the fear of death, and blind faith,
but through striving after rational knowledge.      - Albert Einstein




More information about the U-Boot mailing list