[U-Boot] [PATCH] microblaze: Add missing chosen node

Simon Glass sjg at chromium.org
Wed Feb 24 19:59:34 CET 2016


On 24 February 2016 at 04:37, Michal Simek <michal.simek at xilinx.com> wrote:
> fdtgrep requires /chosen node to be specified or at least more nodes which
> stays in DTS to generate output.
> Error message:
> ./tools/fdtgrep -b u-boot,dm-pre-reloc -RT dts/dt.dtb -n /chosen -O
> dtb | ./tools/fdtgrep -r -O dtb - -o spl/u-boot-spl.dtb -P pinctrl-0 -P
> pinctrl-names -P clocks -P clock-names -P interrupt-parent
> Error: FDT_ERR_BADMAGIC

I'll see if I can figure out the root cause here.

>
> This patch add empty chosen node to keep fdtgrep happy and pass
> compilation for in tree DTS file.
>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
>  arch/microblaze/dts/microblaze-generic.dts | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list