commit | f4337f300aa7cc0a1a366b35e5ae68aed6fdfcd0 | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Wed May 30 10:04:34 2018 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Tue Sep 11 10:58:41 2018 +0200 |
tree | da78b87d3390b5148b453225421630c6b1383532 | |
parent | a2555972d0b3cefa184804e34e5787a73fefb1af [diff] |
cmd: fpga: Cleanup error handling in connection to FPGA_NONE Incorrect command is already handled and FPGA_NONE should be used only one. In case of error CMD_RET_USAGE can be returned directly without any addition logic around. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>