From: Jagan Date: Thu, 19 Jul 2012 10:11:59 +0000 (+0530) Subject: Xilinx: ARM: Add initrd_high environment variable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7542af98f58d6e25c2c81c35600832e32743e3f0;p=thirdparty%2Fu-boot.git Xilinx: ARM: Add initrd_high environment variable This patch provides support to have dynamic relocation of ramdisk image (initrd) through initrd_high environment variable. We set initrd_high value based on our ramdisk image size and is calculated as initrd_high = 0x800000 + User needs to change this value based on his custom ramdisk image. Signed-off-by: Jagan --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index ee7af8b029d..33691fd415c 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -29,6 +29,7 @@ "nand_kernel_size=0x400000\0" \ "nand_ramdisk_size=0x400000\0" \ "fdt_high=0x1000000\0" \ + "initrd_high=0xA627C2\0" \ "norboot=echo Copying Linux from NOR flash to RAM...;" \ "cp 0xE2100000 0x8000 ${kernel_size};" \ "cp 0xE2600000 0x1000000 0x8000;" \