commit | 5cadab60fbd917648335d5d672eb3b1752d5b225 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Wed May 30 11:28:57 2018 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Tue Sep 11 10:58:42 2018 +0200 |
tree | c816fe686f5f0440225757431507528131f2aeed | |
parent | aa93ac59dcf6c7a7593cd7d67b8f8a5b01353efb [diff] |
cmd: fpga: Clean wrong_parms handling There is no reason to check parameters in separate switch. Check them directly when they are read. Also there is no reason to check loadmk case separately because fpga_data address must be non zero too. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>