<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/tools/dtoc, branch v2018.01</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=v2018.01</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/tools/dtoc?h=v2018.01'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2017-11-23T01:05:38Z</updated>
<entry>
<title>dtoc: Fix up tests</title>
<updated>2017-11-23T01:05:38Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-11-13T04:52:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aab660fe18ac24ee859a203f517f939685af5e10'/>
<id>urn:sha1:aab660fe18ac24ee859a203f517f939685af5e10</id>
<content type='text'>
The tool has changed slightly since it was originally written. Update the
tests to suit.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>binman: Disable the no-unit_address_vs_reg warnings</title>
<updated>2017-11-23T01:05:38Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-11-13T04:52:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d09682ef8cbbbf29a41f237298ee1e4dbd71e999'/>
<id>urn:sha1:d09682ef8cbbbf29a41f237298ee1e4dbd71e999</id>
<content type='text'>
These warnings are not useful for binman tests. Disable them.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>dtoc: Add a header to the generated files</title>
<updated>2017-09-15T11:27:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:16:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d503114c66a76b5ceb9d72da2c9b5231eb6743b8'/>
<id>urn:sha1:d503114c66a76b5ceb9d72da2c9b5231eb6743b8</id>
<content type='text'>
Add a header that indicates that the files generated by dtoc should not be
modified.

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: Support properties containing multiple phandle values</title>
<updated>2017-09-15T11:27:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=634eba4be060af3bcba51cba2d57d217df897f31'/>
<id>urn:sha1:634eba4be060af3bcba51cba2d57d217df897f31</id>
<content type='text'>
At present dtoc has a very simplistic view of phandles. It assumes that
a property has only a single phandle with a single argument (i.e. two
cells per property).

This is not true in many cases. Enhance the implementation to scan all
phandles in a property and to use the correct number of arguments (which
can be 0, 1, 2 or more) when generating the C code. For the struct
definitions, use a struct which can hold the maximum number of arguments
used by the property.

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: Put phandle args in an array</title>
<updated>2017-09-15T11:27:48Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bc79617fdfeb4afabb94774885447dd64d7bea6c'/>
<id>urn:sha1:bc79617fdfeb4afabb94774885447dd64d7bea6c</id>
<content type='text'>
We want to support more than one phandle argument. It makes sense to use
an array for this rather than discrete struct members. Adjust the code to
support this. Rename the member to 'arg' instead of 'id'.

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: Put each phandle on a separate line</title>
<updated>2017-09-15T11:27:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=35d503700f294b6f5dd930e2c1b0dd841f1b58fb'/>
<id>urn:sha1:35d503700f294b6f5dd930e2c1b0dd841f1b58fb</id>
<content type='text'>
When writing values from properties which contain phandles, dtoc currently
writes 8 phandles per line. Change this to write one phandle per line.
This helps reduce line length, since phandles are generally longer and may
have arguments.

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: Rename the phandle struct</title>
<updated>2017-09-15T11:27:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0d15463c0537806f70ea2359e32e4deb8c4766c2'/>
<id>urn:sha1:0d15463c0537806f70ea2359e32e4deb8c4766c2</id>
<content type='text'>
Rather than naming the phandle struct according to the number of cells it
uses (e.g. struct phandle_2_cell) name it according to the number of
arguments it has (e.g. struct phandle_1_arg). This is a more intuitive
naming.

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: Rename is_phandle() and adjust it to return more detail</title>
<updated>2017-09-15T11:27:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8fed2eb20c2ef95d69f9683ab07f0ea869616713'/>
<id>urn:sha1:8fed2eb20c2ef95d69f9683ab07f0ea869616713</id>
<content type='text'>
Update this function to return more detail about a property that contains
phandles. This will allow (in a future commit) more accurate handling of
these properties.

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: Make is_phandle() a member function</title>
<updated>2017-09-15T11:27:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2925c26bb2b5450349c2080cac764c18e15a052e'/>
<id>urn:sha1:2925c26bb2b5450349c2080cac764c18e15a052e</id>
<content type='text'>
This function will need to have access to class members once we enhance it
to support multiple phandle values. In preparation for that, move it into
the class.

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: Use the Fdt's class's phandle map</title>
<updated>2017-09-15T11:27:47Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2017-08-29T20:15:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=72ab7c5e384f415b66dc9bef41db928cfc11c310'/>
<id>urn:sha1:72ab7c5e384f415b66dc9bef41db928cfc11c310</id>
<content type='text'>
Now that the Fdt class can map phandles to the associated nodes, use that
instead of a separate implementation.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Tested-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
</entry>
</feed>
