]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: fpga: Cleanup error handling in connection to FPGA_NONE
authorMichal Simek <michal.simek@xilinx.com>
Wed, 30 May 2018 08:04:34 +0000 (10:04 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 11 Sep 2018 08:58:41 +0000 (10:58 +0200)
commit8a3ca092f38838aec6714d67d7f64accf78ecf2f
treeda78b87d3390b5148b453225421630c6b1383532
parent99e56e2b9f48a51762c3cb867ce6fab5c673280d
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>
cmd/fpga.c