<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/cmd/led.c, branch v2017.11</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>cmd/led.c: Remove unnecessary check on 'cmd' value</title>
<updated>2017-05-12T12:37:38+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2017-05-10T19:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=62f733b396cbe39315e9f28ea348300c6a72caa9'/>
<id>62f733b396cbe39315e9f28ea348300c6a72caa9</id>
<content type='text'>
We first check that if argc is less than 2 we return CMD_RET_USAGE.  We
then see if argc is greater than 2 and if so call get_led_cmd() to set
'cmd' and otherwise set it to LEDST_COUNT (which will always be positive
as it's an enum with 0 already assigned).  Therefore the test on if cmd
is less than 0 will always be false and simply be omitted.  Reported by
clang-3.8.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We first check that if argc is less than 2 we return CMD_RET_USAGE.  We
then see if argc is greater than 2 and if so call get_led_cmd() to set
'cmd' and otherwise set it to LEDST_COUNT (which will always be positive
as it's an enum with 0 already assigned).  Therefore the test on if cmd
is less than 0 will always be false and simply be omitted.  Reported by
clang-3.8.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dm: led: Add a new 'led' command</title>
<updated>2017-04-15T01:38:57+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-04-10T17:34:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ffe2052d6e8add8ea66a7d1647255aa28715f067'/>
<id>ffe2052d6e8add8ea66a7d1647255aa28715f067</id>
<content type='text'>
When driver model is used for LEDs, provide a command to allow LED access.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ziping Chen &lt;techping.chan@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When driver model is used for LEDs, provide a command to allow LED access.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ziping Chen &lt;techping.chan@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sandbox: Add some test LEDs</title>
<updated>2017-04-15T01:38:57+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-04-10T17:34:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a89c3a04bcb416102eaa0b7c398209dbc1c796a2'/>
<id>a89c3a04bcb416102eaa0b7c398209dbc1c796a2</id>
<content type='text'>
Add some LEDs to the standard sandbox device tree.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ziping Chen &lt;techping.chan@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add some LEDs to the standard sandbox device tree.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Ziping Chen &lt;techping.chan@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>status_led: Kconfig migration</title>
<updated>2017-01-21T20:12:33+00:00</updated>
<author>
<name>Uri Mashiach</name>
<email>uri.mashiach@compulab.co.il</email>
</author>
<published>2017-01-19T08:51:45+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2d8d190c8394b43c0989cdb04a50cb48d4e1f8da'/>
<id>2d8d190c8394b43c0989cdb04a50cb48d4e1f8da</id>
<content type='text'>
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.

TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.

Tested boards: CL-SOM-AM57x, CM-T335

Signed-off-by: Uri Mashiach &lt;uri.mashiach@compulab.co.il&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move all of the status LED feature to drivers/led/Kconfig.
The LED status definitions were moved from the board configuration
files to the defconfig files.

TBD: Move all of the definitions in the include/status_led.h to the
relevant board's defconfig files.

Tested boards: CL-SOM-AM57x, CM-T335

Signed-off-by: Uri Mashiach &lt;uri.mashiach@compulab.co.il&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the cmd_ prefix from command files</title>
<updated>2016-01-25T15:39:43+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2016-01-18T03:53:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2e192b245ed36a63bab0ef576999a95e23f60ecd'/>
<id>2e192b245ed36a63bab0ef576999a95e23f60ecd</id>
<content type='text'>
Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that they are in their own directory, we can remove this prefix.
This makes it easier to find a file since the prefix does not get in the
way.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Stefan Roese &lt;sr@denx.de&gt;
Acked-by: Przemyslaw Marczak &lt;p.marczak@samsung.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
