Commit 8d3064d9a93a14fdec9e6963766ed77cf3f826a1

Authored by Masahiro Yamada
1 parent c5bd411f6c

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>

Showing 1 changed file with 5 additions and 0 deletions Side-by-side Diff

include/configs/uniphier.h
... ... @@ -246,6 +246,11 @@
246 246 "nand write $loadaddr 0 0x00020000 && " \
247 247 "tftpboot $third_image && " \
248 248 "nand write $loadaddr 0x00020000 0x000e0000\0" \
  249 + "usbupdate=usb start &&" \
  250 + "tftpboot $second_image && " \
  251 + "usb write $loadaddr 0 100 && " \
  252 + "tftpboot $third_image && " \
  253 + "usb write $loadaddr 100 700\0" \
249 254 BOOT_IMAGES \
250 255 LINUXBOOT_ENV_SETTINGS
251 256