cmd_fpga: cleanup help and check parameters
authorStefano Babic <sbabic@denx.de>
Tue, 19 Oct 2010 07:22:52 +0000 (09:22 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 19 Oct 2010 21:52:45 +0000 (23:52 +0200)
commita790b5b2326be9d7c9ad9e3d9b51a8bfabc62d07
tree0198f60339a61c51bbb94b9574c5939b6079a74b
parentc56ded6a6e8962272c8dd893cac49fd7f60fb9d1
cmd_fpga: cleanup help and check parameters

The usage and help for the fpga command is wrong and incomplete,
and the parameters are not checked before to be passed to the
underlying subfunction.

Signed-off-by: Stefano Babic <sbabic@denx.de>
common/cmd_fpga.c