commit | 76956a889d4aa876ff84af5061605ba02f2d3417 | [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 | fdddf123d55fd32203170a0755d772082ec7e1aa [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>