<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/fpga.c, branch v2019.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/cmd/fpga.c?h=v2019.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/cmd/fpga.c?h=v2019.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2018-09-11T09:00:54Z</updated>
<entry>
<title>cmd: fpga: Fix loads command</title>
<updated>2018-09-11T09:00:54Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-05T13:14:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b5d19a93407fbe6cab096bdc145b4f92b7067a3b'/>
<id>urn:sha1:b5d19a93407fbe6cab096bdc145b4f92b7067a3b</id>
<content type='text'>
Convert last loads command to fpga subcommands.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Use CMD_RET_FAILURE instead of simple 1</title>
<updated>2018-09-11T09:00:54Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-05T14:43:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a2d1033b2078e5c16b86b31c7ba41c92111cb45a'/>
<id>urn:sha1:a2d1033b2078e5c16b86b31c7ba41c92111cb45a</id>
<content type='text'>
Use standard return command failure macro.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Add support for missing fpga loadmk commands</title>
<updated>2018-09-11T09:00:54Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-07-26T13:33:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8c75f7943df0e849cf1431cd1b3d3e67180a158c'/>
<id>urn:sha1:8c75f7943df0e849cf1431cd1b3d3e67180a158c</id>
<content type='text'>
There are ways how to call fpga loadmk

1. Full command
fpga loadmk [dev] [address]

2. Dev setup via variable
set fpga [dev]
fpga loadmk [address]

3. Address setup via variable
set fpgadata [address]
fpga loadmk [dev]

4. Dev and address setup via variables
set fpga [dev]
set fpgadata [address]
fpga loadmk

Before this patch only cases 1 and 3 are working but the part of code
was trying to support also cases 2 and 4.
This patch is adding support for cases 2 and 4 to have all of
combinations supported.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Fix loadmk command</title>
<updated>2018-09-11T09:00:54Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T14:15:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2892fe801d8c3c19670782de755484624886a2a6'/>
<id>urn:sha1:2892fe801d8c3c19670782de755484624886a2a6</id>
<content type='text'>
Convert loadmk command to fpga subcommands. Not all combinations are
working but they have never worked properly. This will be fixed later.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Fix loadfs command</title>
<updated>2018-09-11T09:00:53Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T13:51:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49503f9afae1ebeae53b4d2fb863c5a706677127'/>
<id>urn:sha1:49503f9afae1ebeae53b4d2fb863c5a706677127</id>
<content type='text'>
Convert loadfs command to fpga subcommands.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Fix dump and all direct fpga load commands</title>
<updated>2018-09-11T09:00:49Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T13:51:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=857547959ba5d794013390484bd6617278ee6706'/>
<id>urn:sha1:857547959ba5d794013390484bd6617278ee6706</id>
<content type='text'>
Separate dump, load, loadb, loadp and loadbp commands to separate
functions to make it clear how they are called and what parameters they
need.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Extract fpga info command to separate function</title>
<updated>2018-09-11T08:58:42Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T12:57:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f4c7a4aea261e9eab3068f91a08f3c84bd58d89f'/>
<id>urn:sha1:f4c7a4aea261e9eab3068f91a08f3c84bd58d89f</id>
<content type='text'>
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 &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Create new do_fpga_wrapper for using u-boot subcommands</title>
<updated>2018-09-11T08:58:42Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T12:55:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9657d97cf5f0284dbab36915654fb5d082332281'/>
<id>urn:sha1:9657d97cf5f0284dbab36915654fb5d082332281</id>
<content type='text'>
Create command wrapper to clean fpga subcommands.
The function logic is taken from cmd_dm.c

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Clean wrong_parms handling</title>
<updated>2018-09-11T08:58:42Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-05-30T09:28:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5cadab60fbd917648335d5d672eb3b1752d5b225'/>
<id>urn:sha1:5cadab60fbd917648335d5d672eb3b1752d5b225</id>
<content type='text'>
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 &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>cmd: fpga: Remove parameter checking from fpga loadfs command</title>
<updated>2018-09-11T08:58:42Z</updated>
<author>
<name>Michal Simek</name>
<email>michal.simek@xilinx.com</email>
</author>
<published>2018-06-04T11:57:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa93ac59dcf6c7a7593cd7d67b8f8a5b01353efb'/>
<id>urn:sha1:aa93ac59dcf6c7a7593cd7d67b8f8a5b01353efb</id>
<content type='text'>
Parameter checking is dead code because all the time there must be all
params assigned. If they are not assigned there is no 9th parameters
passed and checking before return CMD_RET_USAGE.

Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
