Home
last modified time | relevance | path

Searched hist:"54 d1a4b76c2dfc54f524c9a49fe2777d7ea94fc4" (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/tools/dtoc/
H A Ddtoc_test_phandle.dts54d1a4b76c2dfc54f524c9a49fe2777d7ea94fc4 Tue Aug 29 20:15:59 UTC 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. 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>
H A Dtest_dtoc.py54d1a4b76c2dfc54f524c9a49fe2777d7ea94fc4 Tue Aug 29 20:15:59 UTC 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. 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>
H A Ddtb_platdata.py54d1a4b76c2dfc54f524c9a49fe2777d7ea94fc4 Tue Aug 29 20:15:59 UTC 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. 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>
/rk3399_rockchip-uboot/include/
H A Ddt-structs.h54d1a4b76c2dfc54f524c9a49fe2777d7ea94fc4 Tue Aug 29 20:15:59 UTC 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. 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>