]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
ARM: uniphier: add usbupdate command
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 May 2017 11:57:39 +0000 (20:57 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 May 2017 12:46:20 +0000 (21:46 +0900)
This script command will be useful to update boot images in the
USB storage.

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

index cdc5b0018a3c0dfbb4aae288cef79a1e21092f49..7bd2d8cc2849d9cbcb80188f517a4bedc53d6e1e 100644 (file)
                "nand write $loadaddr 0 0x00020000 && " \
                "tftpboot $third_image && " \
                "nand write $loadaddr 0x00020000 0x000e0000\0" \
+       "usbupdate=usb start &&" \
+               "tftpboot $second_image && " \
+               "usb write $loadaddr 0 100 && " \
+               "tftpboot $third_image && " \
+               "usb write $loadaddr 100 700\0" \
        BOOT_IMAGES \
        LINUXBOOT_ENV_SETTINGS