]> git.sur5r.net Git - u-boot/commit
cmd: fpga: Reorder the arguments parsing code
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Thu, 31 May 2018 09:40:21 +0000 (15:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 1 Jun 2018 09:37:31 +0000 (11:37 +0200)
commitf5953610bf9198a585e39c8074ef9dea1106da9c
tree22856e3df902c02cbf04e16284f074830d427dd8
parent843337089ea7002173ad8f522a8cbe396abd312c
cmd: fpga: Reorder the arguments parsing code

This patch modifies the arguments parsing code by parsing
based on requested operation for fpga loadfs and then
parses the most common/basic args for other fpga load
commands. This makes it easy for new command extensions
or additions especially the commands with more args.

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/fpga.c