]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: uniphier: increase the firmware size in update command environment
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Feb 2018 05:16:36 +0000 (14:16 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 15 Mar 2018 13:41:31 +0000 (22:41 +0900)
If a bigger EL32 is used, fip.bin can be larger than the currently
assumed boot firmware size.  Adjust the update commands.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/configs/uniphier.h

index 8aeda4eb208a41fcaaf57ca2f00a59a490c9fefb..6a25dbd4a64b8e2994529bc5eb16049b05385818 100644 (file)
                "tftpboot $second_image && " \
                "mmc write $loadaddr 0 100 && " \
                "tftpboot $third_image && " \
-               "mmc write $loadaddr 100 700\0" \
+               "mmc write $loadaddr 100 f00\0" \
        "nandupdate=nand erase 0 0x00100000 &&"                 \
                "tftpboot $second_image && " \
                "nand write $loadaddr 0 0x00020000 && " \
                "tftpboot $third_image && " \
-               "nand write $loadaddr 0x00020000 0x000e0000\0" \
+               "nand write $loadaddr 0x00020000 0x001e0000\0" \
        "usbupdate=usb start &&" \
                "tftpboot $second_image && " \
                "usb write $loadaddr 0 100 && " \
                "tftpboot $third_image && " \
-               "usb write $loadaddr 100 700\0" \
+               "usb write $loadaddr 100 f00\0" \
        BOOT_IMAGES \
        LINUXBOOT_ENV_SETTINGS