OSDN Git Service

ARM: dts: omap2: Add an empty chosen node to top level DTSI
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 19 Dec 2016 14:44:33 +0000 (11:44 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:42 +0000 (08:24 +0100)
commitcfcb94b3a498108364db1ad1c36742e86d0c5c4c
treedb1f65f98fb9af245e758acb95432b6f087769c0
parent5921b26bf7445591055bbe385b91d2ea866e7278
ARM: dts: omap2: Add an empty chosen node to top level DTSI

commit 3d37d41a148c32389ed360e10a9f8a7cd37ce166 upstream.

Commit d1f3156fc8c7 ("ARM: dts: omap2: 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: d1f3156fc8c7 ("ARM: dts: omap2: Remove skeleton.dtsi usage")
Reported-by: Pali Rohar <pali.rohar@gmail.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/omap2.dtsi