[U-Boot] [RFC PATCH 04/15] cmd: fpga: Cleanup error handling in connection to FPGA_NONE

Simon Glass sjg at chromium.org
Thu Jul 19 01:32:35 UTC 2018


On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> 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 at xilinx.com>
> ---
>
>  cmd/fpga.c | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list