[U-Boot] [PATCH v3 29/62] dm: Add a tool to generate C code from a device tree

Simon Glass sjg at chromium.org
Fri Jul 15 05:59:02 CEST 2016


On 4 July 2016 at 11:58, Simon Glass <sjg at chromium.org> wrote:
> This tool can produce C struct definitions and C platform data tables.
> This is used to support the of-platdata feature.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Process the structs in a first pass, to correct bugs in widening
>
> Changes in v2: None
>
>  tools/dtoc/dtoc    |   1 +
>  tools/dtoc/dtoc.py | 391 +++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 392 insertions(+)
>  create mode 120000 tools/dtoc/dtoc
>  create mode 100755 tools/dtoc/dtoc.py

Applied to u-boot-dm


More information about the U-Boot mailing list