commit | f4c7a4aea261e9eab3068f91a08f3c84bd58d89f | [log] [tgz] |
---|---|---|
author | Michal Simek <michal.simek@xilinx.com> | Mon Jun 04 14:57:34 2018 +0200 |
committer | Michal Simek <michal.simek@xilinx.com> | Tue Sep 11 10:58:42 2018 +0200 |
tree | be35f2539f5f85532740b485bbdf4a03c9b07e8f | |
parent | 9657d97cf5f0284dbab36915654fb5d082332281 [diff] |
cmd: fpga: Extract fpga info command to separate function 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@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>