]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Resize fdt to prepare for DT changes
authorMichal Simek <michal.simek@xilinx.com>
Fri, 22 Jan 2016 11:21:19 +0000 (12:21 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 10:50:41 +0000 (11:50 +0100)
It is good to resize fdt before it is changed to ensure that there is
enough space for changes which veloce command does.

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

index eb6de6ffd5ece94be51fb88f1b54a517850a1668..b5a21709041cbcbaa28dcf7188fcf7ef15be6e8b 100644 (file)
        CONFIG_KERNEL_FDT_OFST_SIZE \
        "sata_root=if test $scsidevs -gt 0; then setenv bootargs $bootargs root=/dev/sda rw rootfstype=ext4; fi\0" \
        "sataboot=load scsi 0 80000 boot/Image && load scsi 0 $fdt_addr boot/system.dtb && booti 80000 - $fdt_addr\0" \
-       "veloce=fdt addr f000000 && " \
+       "veloce=fdt addr f000000 && fdt resize" \
                "fdt set /amba/misc_clk clock-frequency <48000> && "\
                "fdt set /timer clock-frequency <240000> && " \
                "fdt set /amba/i2c_clk clock-frequency <240000> && " \