summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2016-02-06 05:45:47 (GMT)
committerTom Rini <trini@konsulko.com>2016-02-08 15:22:42 (GMT)
commit89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (patch)
tree5b04ecaf5551c41e13c192c778ff2695f830f663
parent685dc83af4c8d007c63e0a4a1a3cb9549ce7039a (diff)
downloadu-boot-fsl-qoriq-89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a.tar.xz
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>
-rw-r--r--include/configs/rpi-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/rpi-common.h b/include/configs/rpi-common.h
index 29510f5..48f5fc2 100644
--- a/include/configs/rpi-common.h
+++ b/include/configs/rpi-common.h
@@ -172,6 +172,7 @@
* for any boot script to be up to 1M, which is hopefully plenty.
*/
#define ENV_MEM_LAYOUT_SETTINGS \
+ "fdt_high=ffffffff\0" \
"fdt_addr_r=0x00000100\0" \
"pxefile_addr_r=0x00100000\0" \
"kernel_addr_r=0x01000000\0" \