]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM64: zynqmp: Modify the autoboot commands
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Mon, 7 Sep 2015 05:33:47 +0000 (11:03 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jan 2016 14:55:57 +0000 (15:55 +0100)
Modify DFU commands to use latest kernel offsets and sizes
as per modified partitions in the linux device tree.

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

index 20bb359cdebdb52986c4f2d075b315b8eb558eb1..0e5e28b41683c3f0987a1e2b269b396c2c3e921b 100644 (file)
 #define DFU_ALT_INFO_RAM \
        "dfu_ram_info=" \
        "set dfu_alt_info " \
-       "Image ram 0x200000 0x1800000\\\\;" \
-       "system.dtb ram 0x7000000 0x40000\0" \
+       "Image ram $kernel_addr $kernel_size\\\\;" \
+       "system.dtb ram $fdt_addr $fdt_size\0" \
        "dfu_ram=run dfu_ram_info && dfu 0 ram 0\0" \
        "thor_ram=run dfu_ram_info && thordown 0 ram 0\0"
 
        "kernel_addr=0x80000\0" \
        "fdt_addr=0x7000000\0" \
        "fdt_high=0x10000000\0" \
+       "kernel_size=0x2000000\0" \
+       "fdt_size=0x80000\0" \
        "sdbootdev=0\0"\
        "sdboot=mmc dev $sdbootdev && mmcinfo && load mmc $sdbootdev:$partid $fdt_addr system.dtb && " \
                "load mmc $sdbootdev:$partid $kernel_addr Image && " \