diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-02-24 12:37:50 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-24 18:44:15 -0500 |
commit | 20434c8a0b9f6ff4a14d65fdb24c189f283412b2 (patch) | |
tree | e672c903c4be6e0bf2cb4c77754c9792f34a491f /arch/microblaze | |
parent | dfe461d6b5a196c6f13ab0b4ccbeb1b16aa22cf5 (diff) | |
download | u-boot-20434c8a0b9f6ff4a14d65fdb24c189f283412b2.tar.gz u-boot-20434c8a0b9f6ff4a14d65fdb24c189f283412b2.tar.bz2 u-boot-20434c8a0b9f6ff4a14d65fdb24c189f283412b2.zip |
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: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r-- | arch/microblaze/dts/microblaze-generic.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/dts/microblaze-generic.dts b/arch/microblaze/dts/microblaze-generic.dts index 203330987b..08a1396f2d 100644 --- a/arch/microblaze/dts/microblaze-generic.dts +++ b/arch/microblaze/dts/microblaze-generic.dts @@ -4,4 +4,6 @@ #size-cells = <1>; aliases { } ; + chosen { + } ; } ; |