cmd: fpga: Move error handling to do_fpga()
authorMichal Simek <michal.simek@xilinx.com>
Wed, 30 May 2018 07:57:42 +0000 (09:57 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 11 Sep 2018 08:58:41 +0000 (10:58 +0200)
commit550109691ec87a129fd5c5777e1211257ff3c6c9
treefe11c142f63c80f2765318423519e85a88466d28
parent65a6b3c2af673237bb524d22ef6ca8a213f9cd8f
cmd: fpga: Move error handling to do_fpga()

Clean fpga_get_op() error handling by moving checking/print to do_fpga.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fpga.c