diff options
author | T Karthik Reddy <t.karthik.reddy@xilinx.com> | 2019-07-11 13:37:57 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2019-10-08 10:35:43 +0300 |
commit | f0c16cd6f3bc5cff132c13b890f911b9a10dcfaf (patch) | |
tree | 034cb01c5e442f1f60c42a8cd5a8c088cb17678b /board/xilinx | |
parent | 3d865acb70e2b9420c1985f78ba4e829e34bd02e (diff) | |
download | u-boot-f0c16cd6f3bc5cff132c13b890f911b9a10dcfaf.tar.xz |
arm64: versal: Add new dfu usb distro boot command
This patch adds new dfu usb distro boot command to look for bootscript
from dfu-util and runs it.
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/versal/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index dcfb8878c6..abdd580c01 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -106,6 +106,10 @@ int board_late_init(void) puts("Bootmode: "); switch (bootmode) { + case USB_MODE: + puts("USB_MODE\n"); + mode = "dfu_usb"; + break; case JTAG_MODE: puts("JTAG_MODE\n"); mode = "jtag pxe dhcp"; |