diff mbox series

uniphier: increase the firmware size in update command environment

Message ID 1517548597-4584-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 34be347999503b61708f1c50d07c9a72dab69478
Headers show
Series uniphier: increase the firmware size in update command environment | expand

Commit Message

Masahiro Yamada Feb. 2, 2018, 5:16 a.m. UTC
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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Masahiro Yamada March 15, 2018, 1:47 p.m. UTC | #1
2018-02-02 14:16 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:
> 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>
> ---
>

Applied to u-boot-uniphier.
diff mbox series

Patch

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