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 <[email protected]>
---

 include/configs/uniphier.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index 5ab06f6..920e9b6 100644
--- a/include/configs/uniphier.h
+++ b/include/configs/uniphier.h
@@ -197,17 +197,17 @@
                "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
 
-- 
2.7.4

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to