diff mbox

ARM64: tegra: Add chosen node for tegra132 norrin

Message ID 1450704171-8345-1-git-send-email-jonathanh@nvidia.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jon Hunter Dec. 21, 2015, 1:22 p.m. UTC
The NVIDIA bootloader, nvtboot, expects the "chosen" node to be present
in the device-tree blob and it is not then it fails to boot the kernel.
Add the chosen node so we can boot the kernel on tegra132 norrin with
the nvtboot bootloader.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Thierry Reding Jan. 25, 2016, 1:57 p.m. UTC | #1
On Mon, Dec 21, 2015 at 01:22:51PM +0000, Jon Hunter wrote:
> The NVIDIA bootloader, nvtboot, expects the "chosen" node to be present
> in the device-tree blob and it is not then it fails to boot the kernel.

"if it is not"

> Add the chosen node so we can boot the kernel on tegra132 norrin with

"Tegra132 Norrin"

> the nvtboot bootloader.
> 
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 2 ++
>  1 file changed, 2 insertions(+)

Otherwise looks good to me. Given that this is a fix for v4.5 material,
you might want to send it directly to arm@vger.kernel.org (and perhaps
mention that you'd like to have this applied to v4.5). With the above
two fixups:

Acked-by: Thierry Reding <treding@nvidia.com>
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
index 7dfe1c085966..62f33fc84e3e 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts
@@ -12,6 +12,8 @@ 
 		rtc1 = "/rtc@0,7000e000";
 	};
 
+	chosen { };
+
 	memory {
 		device_type = "memory";
 		reg = <0x0 0x80000000 0x0 0x80000000>;