summaryrefslogtreecommitdiff
path: root/include/configs/uniphier.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-10 11:57:39 (GMT)
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-05-17 12:46:20 (GMT)
commit8d3064d9a93a14fdec9e6963766ed77cf3f826a1 (patch)
treeffa10dc9737d0e2527ad38162be21f05b6a481a1 /include/configs/uniphier.h
parentc5bd411f6c152cecb0411e9a658d8394562a3fd1 (diff)
downloadu-boot-8d3064d9a93a14fdec9e6963766ed77cf3f826a1.tar.xz
ARM: uniphier: add usbupdate command
This script command will be useful to update boot images in the USB storage. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs/uniphier.h')
-rw-r--r--include/configs/uniphier.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h
index cdc5b00..7bd2d8c 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