[U-Boot] [PATCH v2 3/8] sandbox: add option show_of_embedded for spl test

Simon Glass sjg at chromium.org
Mon May 20 15:35:37 UTC 2019


Hi Patrick,

On Mon, 20 May 2019 at 07:00, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> Add an option show_of_embedded used in SPL to dump the used device tree.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> Changes in v2:
> - add new option for spl test: show embedded dtb
>
>  arch/sandbox/cpu/spl.c           | 188 +++++++++++++++++++++++++++++++++++++++
>  arch/sandbox/cpu/start.c         |   9 ++
>  arch/sandbox/include/asm/state.h |   1 +
>  3 files changed, 198 insertions(+)

Why not use fdtdump on spl/u-boot-spl.dtb ?

Failing that, can we use the existing code for printing a DT?

Regards,
Simon


More information about the U-Boot mailing list