[U-Boot] [PATCH] TSI148: Fix argument parsing
Wolfgang Denk
wd at denx.de
Tue Oct 12 23:31:21 CEST 2010
Dear Peter Tyser,
In message <1285786217-5347-1-git-send-email-ptyser at xes-inc.com> you wrote:
> From: Brent Darley <bdarley at xes-inc.com>
>
> This patch does 2 things:
> - Fix the argument number assigned to the vdw (VME data width) value.
> Previously, a nonexistent 7th arument was read as the vdw variable.
>
> - Reduce the size of the argument array for the tsi148 command from
> 8 to 7. The tsi148 command itself is argument index 0, and the
> maximum number arguments passed to the command is 6, making a total
> of 7 for the array.
>
> Signed-off-by: Brent Darley <bdarley at xes-inc.com>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> common/cmd_tsi148.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Applied, 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
How many Unix hacks does it take to change a light bulb? Let's see,
can you use a shell script for that or does it need a C program?
More information about the U-Boot
mailing list