]> git.sur5r.net Git - u-boot/commit
TSI148: Fix argument parsing
authorBrent Darley <bdarley@xes-inc.com>
Wed, 29 Sep 2010 18:50:17 +0000 (13:50 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 12 Oct 2010 21:31:10 +0000 (23:31 +0200)
commit076f1be8e1c1a1ea4760fc4ac7cac68bc28fc80d
tree0809e1f093a7043dc57ce4d273ca41bae7e27c9e
parent52ebd9c1e5db30c0392c0c6761c98252918dd624
TSI148: Fix argument parsing

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@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
common/cmd_tsi148.c