From f0c16cd6f3bc5cff132c13b890f911b9a10dcfaf Mon Sep 17 00:00:00 2001 From: T Karthik Reddy Date: Thu, 11 Jul 2019 16:07:57 +0530 Subject: 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 --- board/xilinx/versal/board.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/xilinx/versal/board.c') 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"; -- cgit