[U-Boot] [RFC PATCH 09/15] cmd: fpga: Extract fpga info command to separate function

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


On 18 July 2018 at 09:16, Michal Simek <michal.simek at xilinx.com> wrote:
> Move fpga info to U_BOOT_CMD_MKENT subcommand.
> Also use strtol instead of simple_strtoul. The reason is that if -1 is
> passed (or fpga info without "fpga" variable) the list of all fpgas is
> shown.
> This functionality is in the fpga core but it couldn't be performed.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  cmd/fpga.c | 35 +++++++++++++++++++++++++++--------
>  1 file changed, 27 insertions(+), 8 deletions(-)

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


More information about the U-Boot mailing list