From: Jagannadha Sutradharudu Teki Date: Thu, 8 Nov 2012 12:38:27 +0000 (+0530) Subject: zynq: Add devicetree_size env variable X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c99c6282b8f2babf48506a0c98460f44cf72bfba;p=thirdparty%2Fu-boot.git zynq: Add devicetree_size env variable This patch adds devicetree_size env variable to zynq_common.h file. Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Michal Simek --- diff --git a/include/configs/zynq_common.h b/include/configs/zynq_common.h index bca41d05671..62455a1b8d0 100644 --- a/include/configs/zynq_common.h +++ b/include/configs/zynq_common.h @@ -177,6 +177,7 @@ "ramdisk_image=uramdisk.image.gz\0" \ "devicetree_image=devicetree.dtb\0" \ "kernel_size=0x140000\0" \ + "devicetree_size=0x20000\0" \ "ramdisk_size=0x200000\0" \ "nand_kernel_size=0x400000\0" \ "nand_ramdisk_size=0x400000\0" \ @@ -184,13 +185,13 @@ "initrd_high=0x20000000\0" \ "norboot=echo Copying Linux from NOR flash to RAM...;" \ "cp 0xE2100000 0x3000000 ${kernel_size};" \ - "cp 0xE2600000 0x2A00000 0x20000;" \ + "cp 0xE2600000 0x2A00000 {devicetree_size};" \ "echo Copying ramdisk...;" \ "cp 0xE3000000 0x2000000 ${ramdisk_size};" \ "bootm 0x3000000 0x2000000 0x2A00000\0" \ "qspiboot=echo Copying Linux from QSPI flash to RAM...;" \ "cp 0xFC100000 0x3000000 ${kernel_size};" \ - "cp 0xFC600000 0x2A00000 0x20000;" \ + "cp 0xFC600000 0x2A00000 ${devicetree_size};" \ "echo Copying ramdisk...;" \ "cp 0xFC800000 0x2000000 ${ramdisk_size};" \ "bootm 0x3000000 0x2000000 0x2A00000\0" \ @@ -202,7 +203,7 @@ "bootm 0x3000000 0x2000000 0x2A00000\0" \ "nandboot=echo Copying Linux from NAND flash to RAM...;" \ "nand read 0x3000000 0x200000 ${nand_kernel_size};" \ - "nand read 0x2A00000 0x700000 0x20000;" \ + "nand read 0x2A00000 0x700000 ${devicetree_size};" \ "echo Copying ramdisk...;" \ "nand read 0x2000000 0x900000 ${nand_ramdisk_size};" \ "bootm 0x3000000 0x2000000 0x2A00000\0" \