ARM: tegra: allow passing cboot DTB to the kernel
authorStephen Warren <swarren@nvidia.com>
Fri, 2 Dec 2016 19:26:42 +0000 (12:26 -0700)
committerTom Warren <twarren@nvidia.com>
Tue, 3 Jan 2017 17:34:13 +0000 (10:34 -0700)
commita182e69d794f0e61756fcc5de8fd05cc30c98b67
treeaf6b224d539bee5975ccb5fbd8657d25cf37008d
parent87f5f5417fc897df0b05826b408f0f4b7d2ee388
ARM: tegra: allow passing cboot DTB to the kernel

Some users may wish to pass the cboot-supplied DTB to the booted kernel
rather than having U-Boot load the DTB itself. To allow this, expose the
address of the cboot-supplied DTB in environment variable $fdt_addr. At
least when using extlinux.conf, if the user doesn't explicitly specify
which DTB to pass to the kernel, U-Boot passes the DTB referred to by
this variable.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/mach-tegra/tegra186/nvtboot_board.c