ARM: dts: clps711x: Add an empty chosen node to top level DTSI
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 5 Apr 2021 05:16:58 +0000 (08:16 +0300)
committerArnd Bergmann <arnd@arndb.de>
Wed, 7 Apr 2021 12:02:58 +0000 (14:02 +0200)
Missing "chosen" node can cause issues when booting a kernel
with a boot-loader that doesn't create a chosen node if this
isn't present in the DTB since the decompressor relies on a
pre-existing chosen node to be available to insert the command
line and merge other ATAGS info.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Link: https://lore.kernel.org/r/20210405051658.26779-5-shc_work@mail.ru'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/boot/dts/ep7209.dtsi

index 9350497c1805a245969c0963b70f9c5bbbaf1936..40a277370fd062c510132f44db321b2e88e8a136 100644 (file)
@@ -10,6 +10,8 @@
        model = "Cirrus Logic EP7209";
        compatible = "cirrus,ep7209";
 
+       chosen { };
+
        aliases {
                gpio0 = &porta;
                gpio1 = &portb;