Skip to content
Snippets Groups Projects
Commit 20434c8a authored by Michal Simek's avatar Michal Simek Committed by Tom Rini
Browse files

microblaze: Add missing chosen node


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

This patch add empty chosen node to keep fdtgrep happy and pass
compilation for in tree DTS file.

Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent dfe461d6
No related branches found
No related tags found
No related merge requests found
...@@ -4,4 +4,6 @@ ...@@ -4,4 +4,6 @@
#size-cells = <1>; #size-cells = <1>;
aliases { aliases {
} ; } ;
chosen {
} ;
} ; } ;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment