<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/drivers/core/dump.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-01-15T00:47:13Z</updated>
<entry>
<title>dm: Tidy up 'dm tree' output when there are many devices</title>
<updated>2019-01-15T00:47:13Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-12-06T01:42:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=54d2cfe6ee11dc5bcce55d41b91d92f9a53e6485'/>
<id>urn:sha1:54d2cfe6ee11dc5bcce55d41b91d92f9a53e6485</id>
<content type='text'>
At present the 'Index' column assumes there is only one digit. But on some
devices (e.g. snow) there are a lot of regulators and GPIO banks. Adjust
the output to allow for two digits without messing up the display.

Also capatalise the heading to match.

Fixes: 5197dafc42 (dm: core: Widen the dump tree to show more of the
driver's name.)

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Liviu Dudau &lt;liviu.dudau@foss.arm.com&gt;
</content>
</entry>
<entry>
<title>dm: core: Widen the dump tree to show more of the driver's name.</title>
<updated>2018-11-21T02:14:22Z</updated>
<author>
<name>Liviu Dudau</name>
</author>
<published>2018-10-15T09:03:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=5197dafc42eb926525a12fc5aa38d2a05f22d177'/>
<id>urn:sha1:5197dafc42eb926525a12fc5aa38d2a05f22d177</id>
<content type='text'>
With drivers that have prefix names that are quite long (like
'versatile_') it is useful to have a wider column for the driver's
name when dumping the device driver tree.

Also update the tests to take into account the wider output format.

Signed-off-by: Liviu Dudau &lt;liviu.dudau@foss.arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>uclass: Use uclass_foreach_dev() macro instead of open coding</title>
<updated>2018-11-14T17:16:28Z</updated>
<author>
<name>Liviu Dudau</name>
</author>
<published>2018-09-28T13:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=81f351d6e7ebb371de8ea849fc21dd07dc2eff24'/>
<id>urn:sha1:81f351d6e7ebb371de8ea849fc21dd07dc2eff24</id>
<content type='text'>
Use the uclass_foreach_dev() macro instead of the open coded version.

Signed-off-by: Liviu Dudau &lt;liviu.dudau@foss.arm.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: print the index of the device when dumping the dm tree</title>
<updated>2018-08-21T14:21:37Z</updated>
<author>
<name>Jean-Jacques Hiblot</name>
</author>
<published>2018-08-09T14:17:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=999b204383ffb4eee1467604a935ed3a670c460e'/>
<id>urn:sha1:999b204383ffb4eee1467604a935ed3a670c460e</id>
<content type='text'>
Command "dm tree" dumps the devices with class, driver, name information.
Add the index of the device in the class too, because the information is
useful for the bind/unbind commands.

Signed-off-by: Jean-Jacques Hiblot &lt;jjhiblot@ti.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>dm: core: Show driver name with 'dm tree'</title>
<updated>2017-09-12T03:43:58Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-02T18:12:02Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=ee3e520dad0b368df4541cd0af0d4011cf481e5b'/>
<id>urn:sha1:ee3e520dad0b368df4541cd0af0d4011cf481e5b</id>
<content type='text'>
It is often useful to see which driver was actually selected for each
device. Add a new 'Driver' column to provide this information. Sample
output:

 Class       Probed   Driver     Name
----------------------------------------
 root        [ + ]    root_drive root_driver
 keyboard    [ + ]    i8042_kbd  |-- keyboard
 serial      [ + ]    ns16550_se |-- serial
 rtc         [   ]    rtc_mc1468 |-- rtc
 timer       [ + ]    tsc_timer  |-- tsc-timer
 syscon      [ + ]    ich6_pinct |-- pch_pinctrl
 pci         [ + ]    pci_x86    |-- pci
 northbridge [ + ]    bd82x6x_no |   |-- northbridge@0,0
 video       [ + ]    bd82x6x_vi |   |-- gma@2,0
 vidconsole0 [ + ]    vidconsole |   |   `-- gma@2,0.vidconsole0
...

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: core: Drop use of strlcpy()</title>
<updated>2017-09-12T03:43:58Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2017-08-02T18:12:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=a0f9acb08bd6f3b4a6f3adcb02c8170e522c074a'/>
<id>urn:sha1:a0f9acb08bd6f3b4a6f3adcb02c8170e522c074a</id>
<content type='text'>
We can use printf() to limit the string width. Adjust the code to do this
instead of using strlcpy() which is a bit clumbsy.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Tested-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: include &lt;dm/util.h&gt; from driver/core/dump.c</title>
<updated>2017-07-11T16:08:20Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2017-06-22T08:10:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fce136aafe1f51b2dbca1439f3bf31a7e6d32ca9'/>
<id>urn:sha1:fce136aafe1f51b2dbca1439f3bf31a7e6d32ca9</id>
<content type='text'>
Include &lt;dm/util.h&gt; to fix sparse warnings:
symbol 'dm_dump_all' was not declared. Should it be static?
symbol 'dm_dump_uclass' was not declared. Should it be static?

Signed-off-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: Move the tree/uclass dump code into its own file</title>
<updated>2015-07-21T23:39:22Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2015-06-23T21:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=304fbef156b00d8d7005c8b156e64a6632d45008'/>
<id>urn:sha1:304fbef156b00d8d7005c8b156e64a6632d45008</id>
<content type='text'>
In SPL it is sometimes useful to be able to obtain a dump of the current
driver model state. Since commands are not available, provide a way to
directly call the functions to output this information.

Adjust the existing commands to use these functions.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
