<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/dm/ofnode.h, 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-05-21T23:33:23Z</updated>
<entry>
<title>core: ofnode: Have ofnode_read_u32_default return a u32</title>
<updated>2019-05-21T23:33:23Z</updated>
<author>
<name>Trent Piepho</name>
</author>
<published>2019-05-10T17:48:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=b061ef39c350c288542536b09dc01d9e984a12ac'/>
<id>urn:sha1:b061ef39c350c288542536b09dc01d9e984a12ac</id>
<content type='text'>
It was returning an int, which doesn't work if the u32 it is reading,
or the default value, will overflow a signed int.

While it could be made to work, when using a C standard/compiler where
casting negative signed values to unsigned has a defined behavior,
combined with careful casting, it seems obvious one is meant to use
ofnode_read_s32_default() with signed values.

Cc: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Trent Piepho &lt;tpiepho@impinj.com&gt;
</content>
</entry>
<entry>
<title>core: ofnode: Add ofnode_get_addr_size_index</title>
<updated>2019-05-21T23:33:23Z</updated>
<author>
<name>Keerthy</name>
</author>
<published>2019-04-24T11:49:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e679d03b08fbde6145fdef150f4b240e6d14448e'/>
<id>urn:sha1:e679d03b08fbde6145fdef150f4b240e6d14448e</id>
<content type='text'>
Add ofnode_get_addr_size_index function to fetch the address
and size of the reg space based on index.

Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ofnode: fix comment typo</title>
<updated>2018-11-29T16:30:06Z</updated>
<author>
<name>Baruch Siach</name>
</author>
<published>2018-11-18T12:39:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=33810b4e7d81810a5245b342dfe6aea95150f895'/>
<id>urn:sha1:33810b4e7d81810a5245b342dfe6aea95150f895</id>
<content type='text'>
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
</content>
</entry>
<entry>
<title>dm: core: add missing prototype for ofnode_read_u64</title>
<updated>2018-11-26T05:57:33Z</updated>
<author>
<name>Lukas Auer</name>
</author>
<published>2018-11-22T10:26:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=afb301295363391f588f37696c27795cd7c0ffc4'/>
<id>urn:sha1:afb301295363391f588f37696c27795cd7c0ffc4</id>
<content type='text'>
Signed-off-by: Lukas Auer &lt;lukas.auer@aisec.fraunhofer.de&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>core: Add functions to set properties in live-tree</title>
<updated>2018-09-29T17:49:35Z</updated>
<author>
<name>Mario Six</name>
</author>
<published>2018-06-26T06:46:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=e369e58df79cf152c299b898e31c42f08167082a'/>
<id>urn:sha1:e369e58df79cf152c299b898e31c42f08167082a</id>
<content type='text'>
Implement a set of functions to manipulate properties in a live device
tree:

* ofnode_write_prop() to set generic properties of a node
* ofnode_write_string() to set string properties of a node
* ofnode_set_enabled() to either enable or disable a node

Signed-off-by: Mario Six &lt;mario.six@gdsys.cc&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>ofnode: add ofnode_by_prop_value()</title>
<updated>2018-09-18T14:12:21Z</updated>
<author>
<name>Jens Wiklander</name>
</author>
<published>2018-08-20T09:09:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=61fba0faba432ae1cefc3984f863c28880d30329'/>
<id>urn:sha1:61fba0faba432ae1cefc3984f863c28880d30329</id>
<content type='text'>
Adds ofnode_by_prop_value() to search for nodes with a given property
and value, an ofnode version of fdt_node_offset_by_prop_value().

Signed-off-by: Jens Wiklander &lt;jens.wiklander@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Add ofnode function to read PCI vendor and device id</title>
<updated>2018-08-08T11:49:31Z</updated>
<author>
<name>Bin Meng</name>
</author>
<published>2018-08-03T08:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=7b9cbaddd559830426443340fe4c7e1eacfec57d'/>
<id>urn:sha1:7b9cbaddd559830426443340fe4c7e1eacfec57d</id>
<content type='text'>
We don't have the live-tree version of fdtdec_get_pci_vendev().
This adds the API.

Signed-off-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Add a way to find an ofnode by compatible string</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-06-11T19:07:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=c60f671b65a8b336c3533fcf0f0ee45dff287ff7'/>
<id>urn:sha1:c60f671b65a8b336c3533fcf0f0ee45dff287ff7</id>
<content type='text'>
Add an ofnode_by_compatible() to allow iterating through ofnodes with a
given compatible string.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Add comments to ofnode_read_resource() functoins</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-06-11T19:07:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=c98ad4434c1a680915d10e5696e6bee9c81044d5'/>
<id>urn:sha1:c98ad4434c1a680915d10e5696e6bee9c81044d5</id>
<content type='text'>
These functions are missing comments. Add some.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dm: core: Fix a few ofnode function comments</title>
<updated>2018-07-09T15:11:00Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2018-06-11T19:07:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fbe8d033fcc64eef90d3e9642545804a0ab9b74f'/>
<id>urn:sha1:fbe8d033fcc64eef90d3e9642545804a0ab9b74f</id>
<content type='text'>
Tidy up three return-value errors.

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