]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx: Pass 'chosen' and 'memory' nodes
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 23 Jan 2017 16:54:10 +0000 (14:54 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 24 Jan 2017 13:24:28 +0000 (21:24 +0800)
commit0f21c04e9f9e3541f8e2f6cc1b31dff78b311c00
treee2c7934dcf819efccb242d43add4b6107258e1bf
parent1dce3a305c46831aa2ee938b39c627afbb958fb0
ARM: dts: imx: Pass 'chosen' and 'memory' nodes

Commit 7e41bba4aa19 ("ARM: dts: imx: Remove skeleton.dtsi") causes boot
issues when the bootloader does not create a 'chosen' node if such node
is not present in the dtb.

The reason for the boot failure is well explained by Javier Martinez
Canillas: "the decompressor relies on a pre-existing chosen node to be
available to insert the command line and merge other ATAGS info."

, so pass an empty 'chosen' node to fix the boot problem.

This issue has been seen in the kernelci reports with Barebox as
bootloader.

Also pass the 'memory' node in order to fix boot issues on the SolidRun
iMX6 platforms.

Fixes: 7e41bba4aa19 ("ARM: dts: imx: Remove skeleton.dtsi")
Reported-by: kernelci.org bot <bot@kernelci.org>
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
15 files changed:
arch/arm/boot/dts/imx1.dtsi
arch/arm/boot/dts/imx23.dtsi
arch/arm/boot/dts/imx25.dtsi
arch/arm/boot/dts/imx27.dtsi
arch/arm/boot/dts/imx28.dtsi
arch/arm/boot/dts/imx31.dtsi
arch/arm/boot/dts/imx35.dtsi
arch/arm/boot/dts/imx50.dtsi
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx53.dtsi
arch/arm/boot/dts/imx6qdl.dtsi
arch/arm/boot/dts/imx6sl.dtsi
arch/arm/boot/dts/imx6sx.dtsi
arch/arm/boot/dts/imx6ul.dtsi
arch/arm/boot/dts/imx7s.dtsi