| #
de97595a |
| 29-Aug-2017 |
Simon Glass <sjg@chromium.org> |
dtoc: Rename the auto-generated dt-structs.h file
The filename of the auto-generated file is the same as the file that includes it. Even though the form is in the generated/ subdirectory, this could
dtoc: Rename the auto-generated dt-structs.h file
The filename of the auto-generated file is the same as the file that includes it. Even though the form is in the generated/ subdirectory, this could be confused.
Rename the generated file to something that makes it clear it is auto-generated.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
54d1a4b7 |
| 29-Aug-2017 |
Simon Glass <sjg@chromium.org> |
dtoc: Support properties containing multiple phandle values
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.
dtoc: Support properties containing multiple phandle values
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 <sjg@chromium.org>
show more ...
|
| #
f9faa230 |
| 29-Aug-2017 |
Simon Glass <sjg@chromium.org> |
dtoc: Put phandle args in an array
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. Re
dtoc: Put phandle args in an array
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 <sjg@chromium.org>
show more ...
|
| #
3a40acd4 |
| 29-Aug-2017 |
Simon Glass <sjg@chromium.org> |
dtoc: Rename the phandle struct
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.
dtoc: Rename the phandle struct
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 <sjg@chromium.org>
show more ...
|
| #
00b26f7c |
| 11-Jul-2017 |
Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
dm: Fix typo in include-guard for dm-structs.h
The include-guard for dm-structs.h was misspelled as __DT_STTUCTS. Change it.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> R
dm: Fix typo in include-guard for dm-structs.h
The include-guard for dm-structs.h was misspelled as __DT_STTUCTS. Change it.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
show more ...
|
| #
ebe621d5 |
| 15-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge git://git.denx.de/u-boot-dm
|
| #
f24770d8 |
| 04-Jul-2016 |
Simon Glass <sjg@chromium.org> |
dm: Add a header that provides access to the of-platdata structs
This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and
dm: Add a header that provides access to the of-platdata structs
This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL).
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|