ARM: rpi: set fdt_high in the default environment
authorStephen Warren <swarren@wwwdotorg.org>
Sat, 6 Feb 2016 05:45:47 +0000 (22:45 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:22:42 +0000 (10:22 -0500)
commit89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a
tree5b04ecaf5551c41e13c192c778ff2695f830f663
parent685dc83af4c8d007c63e0a4a1a3cb9549ce7039a
ARM: rpi: set fdt_high in the default environment

The ARM Linux kernel requires the DT to be in memory accessible early
during the boot process. This always happens naturally on the RPi 1,
since the maximum memory size of 512MiB, and additionally some of that
is reserved for use by the GPU. The RPi 2 has 1GiB of RAM (minus some
GPU usage), and so if the DT is relocated to the top of RAM, Linux cannot
access it. Prevent this from happening by setting fdt_high.

Cc: Daniel Stone <daniels@collabora.com>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
include/configs/rpi-common.h