[U-Boot] [RFC PATCH 07/15] cmd: fpga: Clean wrong_parms handling
Simon Glass
sjg at chromium.org
Thu Jul 19 01:32:44 UTC 2018
On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> 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 at xilinx.com>
> ---
>
> cmd/fpga.c | 35 ++++++++---------------------------
> 1 file changed, 8 insertions(+), 27 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list