Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1544588

[PATCH 9/9] ARM: dts: dra7: Add an empty chosen node to top level DTSI

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 9/9] ARM: dts: dra7: Add an empty chosen node to top level DTSI
Date Mon, 19 Dec 2016 16:00:02 +0100
Message-ID <sQ7zY-ML-3@gated-at.bofh.it> (permalink)
References <sQ7qh-Il-1@gated-at.bofh.it>
X-Mailer git-send-email 2.7.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
X-Original-Cc Pali Rohar <pali.rohar@gmail.com>, Javier Martinez Canillas <javier@osg.samsung.com>, Benoît Cousson <bcousson@baylibre.com>, devicetree@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Tony Lindgren <tony@atomide.com>, Mark Rutland <mark.rutland@arm.com>, linux-omap@vger.kernel.org, Russell King <linux@armlinux.org.uk>, linux-arm-kernel@lists.infradead.org
X-Original-Date Mon, 19 Dec 2016 11:44:41 -0300
X-Original-Message-ID <1482158681-4530-10-git-send-email-javier@osg.samsung.com>
X-Original-References <1482158681-4530-1-git-send-email-javier@osg.samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1544588

Show key headers only | View raw


Commit 55871eb6e2cc ("ARM: dts: dra7: Remove skeleton.dtsi usage")
removed the skeleton.dtsi usage since we want to get rid of it.

But this 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.

Fixes: 55871eb6e2cc ("ARM: dts: dra7: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 arch/arm/boot/dts/dra7.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index addb7530cfbe..1faf24acd521 100644
--- a/arch/arm/boot/dts/dra7.dtsi
+++ b/arch/arm/boot/dts/dra7.dtsi
@@ -18,6 +18,7 @@
 
 	compatible = "ti,dra7xx";
 	interrupt-parent = <&crossbar_mpu>;
+	chosen { };
 
 	aliases {
 		i2c0 = &i2c1;
-- 
2.7.4

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 3/9] ARM: dts: omap4: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
    Re: [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI Pali Rohár <pali.rohar@gmail.com> - 2017-01-02 19:10 +0100
  [PATCH 5/9] ARM: dts: am33xx: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 1/9] ARM: dts: omap2: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 4/9] ARM: dts: omap5: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 6/9] ARM: dts: am4372: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 7/9] ARM: dts: dm814x: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 15:50 +0100
  [PATCH 9/9] ARM: dts: dra7: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 16:00 +0100
  [PATCH 8/9] ARM: dts: dm816x: Add an empty chosen node to top level DTSI Javier Martinez Canillas <javier@osg.samsung.com> - 2016-12-19 16:00 +0100
  Re: [PATCH 0/9] ARM: omap: Add empty chosen node in SoCs top level  DTSI Tony Lindgren <tony@atomide.com> - 2016-12-27 18:40 +0100

csiph-web