[U-Boot] [PATCH] net: Fix download command parsing

Ben Warren biggerbadderben at gmail.com
Fri Dec 5 08:10:22 CET 2008


Hi Peter,

Peter Tyser wrote:
> When CONFIG_SYS_HUSH_PARSER is defined network download
> commands with 1 argument in the format 'tftp "/path/file"'
> do not work as expected. The hush command parser strips
> the quotes from "/path/file" which causes the network
> commands to interpret "/path/file" as an address
> instead of the intended filename.
>
> The previous check for a leading quote in netboot_common()
> was replaced with a check which ensures only valid
> numbers are treated as addresses.
>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---

Applied to net repo.

thanks,
Ben


More information about the U-Boot mailing list