]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Increase fdt size during Xen boot
authorAlistair Francis <alistair.francis@xilinx.com>
Tue, 14 Feb 2017 23:06:56 +0000 (15:06 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 15 Feb 2017 14:12:33 +0000 (15:12 +0100)
If we are modifying the device tree to perform a Xen boot we need a
larger device tree then the default fdt resize command gives us.
To avoid having to resize it multiple times increase the fdt resize
size.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
include/configs/xilinx_zynqmp.h

index 08b760433374de7cac8b08d788901472d416734e..08c95fa49adf2cf347322c65789f9c1ff26b426e 100644 (file)
        "nandboot=nand info && nand read $fdt_addr $fdt_offset $fdt_size && " \
                  "nand read $kernel_addr $kernel_offset $kernel_size && " \
                  "booti $kernel_addr - $fdt_addr\0" \
-       "xen_prepare_dt=fdt addr $fdt_addr && fdt resize && " \
+       "xen_prepare_dt=fdt addr $fdt_addr && fdt resize 128 && " \
                "fdt set /chosen \\\\#address-cells <1> && " \
                "fdt set /chosen \\\\#size-cells <1> && " \
                "fdt mknod /chosen dom0 && " \