[U-Boot-Users] [PATCH] Set fileaddr and filesize environment variables upon download of a file

Wolfgang Denk wd at denx.de
Thu Oct 5 17:57:45 CEST 2006


In message <200609201042.12600.laurent.pinchart at tbox.biz> you wrote:
>
> load-from-disk commands set the fileaddr and filesize environment variables 
> upon completion. This patch adds the same functionality for load-from-network 
> commands (BOOTP, TFTP, NFS, ...).

I reject your patch, as it is redundant.

> The fileaddr environment variable is set to the address at which the file has 

This is redundant.  The  information  is  already  available  in  the
loadaddr environment variable.

> been loaded. The filesize environment variable is set to the size of the file 
> in bytes.

This is redundant. The filesize variable already gets set by the
current code.

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
Einstein argued that there must be simplified explanations of nature,
because God is not capricious or arbitrary. No  such  faith  comforts
the software engineer.                             - Fred Brooks, Jr.




More information about the U-Boot mailing list