]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: update upper memory limit for dt and ramdisk
authorJohn Linn <john.linn@xilinx.com>
Wed, 1 Aug 2012 23:46:07 +0000 (16:46 -0700)
committerJohn Linn <john.linn@xilinx.com>
Wed, 1 Aug 2012 23:46:07 +0000 (16:46 -0700)
By default u-boot will try to load the device tree and
the ramdisk into high memory. This sets up the limits
to reserve some high memory (above 512MB) so that the
items are not loaded higher than that.

The Xilinx TRD uses video memory up high for one example
and if these items are loaded up high the Linux kernel
would not be able to access it.

Signed-off-by: John Linn <john.linn@xilinx.com>
include/configs/zynq_common.h

index 306aa5418feb061dcd3a46a2da2a51079039c545..8023ee1b04803045ac98dcdd8ea0242f2fbdaece 100644 (file)
@@ -31,8 +31,8 @@
        "ramdisk_size=0x200000\0"       \
        "nand_kernel_size=0x400000\0"   \
        "nand_ramdisk_size=0x400000\0"  \
-       "fdt_high=0x1000000\0"  \
-       "initrd_high=0xA627C2\0"        \
+       "fdt_high=0x20000000\0" \
+       "initrd_high=0x20000000\0"      \
        "norboot=echo Copying Linux from NOR flash to RAM...;" \
                "cp 0xE2100000 0x3000000 ${kernel_size};" \
                "cp 0xE2600000 0x2A00000 0x20000;" \