From: Masahiro Yamada Date: Wed, 10 May 2017 11:57:39 +0000 (+0900) Subject: ARM: uniphier: add usbupdate command X-Git-Tag: v2017.07-rc1~253^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d3064d9a93a14fdec9e6963766ed77cf3f826a1;p=platform%2Fkernel%2Fu-boot.git ARM: uniphier: add usbupdate command This script command will be useful to update boot images in the USB storage. Signed-off-by: Masahiro Yamada --- diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index cdc5b00..7bd2d8cc 100644 --- a/include/configs/uniphier.h +++ b/include/configs/uniphier.h @@ -246,6 +246,11 @@ "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