All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Shiyan <shc_work@mail.ru>
To: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>,
	Olof Johansson <olof@lixom.net>, Rob Herring <robh+dt@kernel.org>,
	Alexander Shiyan <shc_work@mail.ru>
Subject: [PATCH 5/5] ARM: dts: clps711x: Add an empty chosen node to top level DTSI
Date: Wed, 17 Feb 2021 12:20:24 +0300	[thread overview]
Message-ID: <20210217092024.1568-5-shc_work@mail.ru> (raw)
In-Reply-To: <20210217092024.1568-1-shc_work@mail.ru>

Missing "chosen" node can cause issues when booting a kerne
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>
---
 arch/arm/boot/dts/ep7209.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi
index e3d483a43ae6..1d62673a848d 100644
--- a/arch/arm/boot/dts/ep7209.dtsi
+++ b/arch/arm/boot/dts/ep7209.dtsi
@@ -10,6 +10,8 @@ / {
 	model = "Cirrus Logic EP7209";
 	compatible = "cirrus,ep7209";
 
+	chosen { };
+
 	aliases {
 		gpio0 = &porta;
 		gpio1 = &portb;
-- 
2.26.2


WARNING: multiple messages have this Message-ID (diff)
From: Alexander Shiyan <shc_work@mail.ru>
To: linux-arm-kernel@lists.infradead.org
Cc: Olof Johansson <olof@lixom.net>,
	devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Alexander Shiyan <shc_work@mail.ru>,
	Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 5/5] ARM: dts: clps711x: Add an empty chosen node to top level DTSI
Date: Wed, 17 Feb 2021 12:20:24 +0300	[thread overview]
Message-ID: <20210217092024.1568-5-shc_work@mail.ru> (raw)
In-Reply-To: <20210217092024.1568-1-shc_work@mail.ru>

Missing "chosen" node can cause issues when booting a kerne
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>
---
 arch/arm/boot/dts/ep7209.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/ep7209.dtsi b/arch/arm/boot/dts/ep7209.dtsi
index e3d483a43ae6..1d62673a848d 100644
--- a/arch/arm/boot/dts/ep7209.dtsi
+++ b/arch/arm/boot/dts/ep7209.dtsi
@@ -10,6 +10,8 @@ / {
 	model = "Cirrus Logic EP7209";
 	compatible = "cirrus,ep7209";
 
+	chosen { };
+
 	aliases {
 		gpio0 = &porta;
 		gpio1 = &portb;
-- 
2.26.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-02-17  9:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17  9:20 [PATCH 1/5] ARM: dts: clps711x: Add SYSCON nodes where it is used Alexander Shiyan
2021-02-17  9:20 ` Alexander Shiyan
2021-02-17  9:20 ` [PATCH 2/5] ARM: dts: clps711x: Add keypad node Alexander Shiyan
2021-02-17  9:20   ` Alexander Shiyan
2021-02-17  9:20 ` [PATCH 3/5] ARM: dts: clps711x: Fix serial port names Alexander Shiyan
2021-02-17  9:20   ` Alexander Shiyan
2021-02-17  9:20 ` [PATCH 4/5] ARM: dts: clps711x: edb7211: Add unit-address to memory node Alexander Shiyan
2021-02-17  9:20   ` Alexander Shiyan
2021-02-17  9:20 ` Alexander Shiyan [this message]
2021-02-17  9:20   ` [PATCH 5/5] ARM: dts: clps711x: Add an empty chosen node to top level DTSI Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210217092024.1568-5-shc_work@mail.ru \
    --to=shc_work@mail.ru \
    --cc=arnd@arndb.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=olof@lixom.net \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.