From 7542af98f58d6e25c2c81c35600832e32743e3f0 Mon Sep 17 00:00:00 2001 From: Jagan Date: Thu, 19 Jul 2012 15:41:59 +0530 Subject: [PATCH] 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 --- include/configs/zynq_common.h | 1 + 1 file changed, 1 insertion(+) 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;" \ -- 2.47.3