<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/dtoc, branch v2017.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/tools/dtoc?h=v2017.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/dtoc?h=v2017.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-06-02T16:18:20Z</updated>
<entry>
<title>fdt: Drop fdt_select.py</title>
<updated>2017-06-02T16:18:20Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=99ed4a2e979150879fb70aea71898709536375d3'/>
<id>urn:sha1:99ed4a2e979150879fb70aea71898709536375d3</id>
<content type='text'>
This file was used to select between the normal and fallback libfdt
implementations. Now that we only have one, it is not needed.

Drop it and fix up all users.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fdt: Merge fdt_normal with its base class</title>
<updated>2017-06-02T16:18:20Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7b75b4482ddee4ea8248f1f64f2b0d1c752dd273'/>
<id>urn:sha1:7b75b4482ddee4ea8248f1f64f2b0d1c752dd273</id>
<content type='text'>
Since we only have one Fdt implementation now we don't need to have a base
class. Merge the implementation and the base class together.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fdt: Drop fdt_fallback library</title>
<updated>2017-06-02T16:18:20Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=160a7664252c937d57caf9bc588519ede6e46a34'/>
<id>urn:sha1:160a7664252c937d57caf9bc588519ede6e46a34</id>
<content type='text'>
Drop this now-unused library and associated tests.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fdt: Drop use of the legacy libfdt python module</title>
<updated>2017-06-02T16:18:19Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d804eafc12263fcba423284d453ca9f4fff639f'/>
<id>urn:sha1:6d804eafc12263fcba423284d453ca9f4fff639f</id>
<content type='text'>
Now that this is no-longer available, stop looking for it. The new module
will be used if available.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fdt: Support use of the new python libfdt library</title>
<updated>2017-06-02T16:16:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b4360206a4bc67404125b0478132aeaeea41683f'/>
<id>urn:sha1:b4360206a4bc67404125b0478132aeaeea41683f</id>
<content type='text'>
Use the new library if available, while retaining backwards compatibility
with the old library for now.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fdt: Rename existing python libfdt module</title>
<updated>2017-06-02T16:16:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-05-27T13:38:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=555ba4889c8ffc5bac933976db9fd915c796f72d'/>
<id>urn:sha1:555ba4889c8ffc5bac933976db9fd915c796f72d</id>
<content type='text'>
Now that this module has been accepted upstream we should stop using the
local U-Boot one. In preparation for this, rename it to indicate it is for
legacy use.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Handle nodes with phandles that depend on the same</title>
<updated>2017-05-10T19:37:21Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-04-23T00:42:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=439c947f32eacf2b4459aafc1fe5da70abb8ec20'/>
<id>urn:sha1:439c947f32eacf2b4459aafc1fe5da70abb8ec20</id>
<content type='text'>
At present dtoc assumes that nodes which are phandles do not themselves
reference other phandle nodes. Unfortunately this is not necessarilly
true. As a result we can currently output C code which does not compile
because a node declaration can be referenced before it is declared.

Adjust the code to explicitly output all phandle nodes needed by node
before the node itself is output.

This fixes building with the latest rk3399-firefly.dts from Linux, which
has reordered the nodes.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>dtoc: Move the output code into its own function</title>
<updated>2017-05-10T19:37:21Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-04-23T00:42:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=49eec8c7f1ce6773c733950e2fb300a8a8f4562b'/>
<id>urn:sha1:49eec8c7f1ce6773c733950e2fb300a8a8f4562b</id>
<content type='text'>
The code to generate the tables is quite long. Move the node-output code
into its own function.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>dtoc: Decode val if it's a byte string</title>
<updated>2017-04-13T17:43:49Z</updated>
<author>
<name>George McCollister</name>
<email>george.mccollister@gmail.com</email>
</author>
<published>2017-03-30T14:44:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f156b5b59750f4140ffa2dd6a5eab686ba0212c3'/>
<id>urn:sha1:f156b5b59750f4140ffa2dd6a5eab686ba0212c3</id>
<content type='text'>
With Python 3.5.2 encode will throw an exception if val is a byte array.
Decode it to a string first. This assumes it's utf-8, if it's not valid
utf-8 it will throw an exception.

Signed-off-by: George McCollister &lt;george.mccollister@gmail.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: make ScanTree recurse into subnodes</title>
<updated>2017-03-22T13:27:19Z</updated>
<author>
<name>Philipp Tomsich</name>
<email>philipp.tomsich@theobroma-systems.com</email>
</author>
<published>2017-02-22T18:06:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=55bc080e799ac18802a791bd5ce5d83a136da6e3'/>
<id>urn:sha1:55bc080e799ac18802a791bd5ce5d83a136da6e3</id>
<content type='text'>
Previously, dtoc could only process the top-level nodes which led to
device nodes in hierarchical trees to be ignored. E.g. the mmc0 node
in the following example would be ignored, as only the soc node was
processed:

  / {
	soc {
		mmc0 {
			/* ... */
		};
	};
  };

This introduces a recursive helper method ScanNode, which is used by
ScanTree to recursively parse the entire tree hierarchy.

Signed-off-by: Philipp Tomsich &lt;philipp.tomsich@theobroma-systems.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
