From 82cb49dc001f0e2141ef739087d51c3c7eb893c8 Mon Sep 17 00:00:00 2001 From: T Karthik Reddy Date: Tue, 30 Mar 2021 23:24:57 -0600 Subject: xilinx: versal: Add usb dfu/thor distro boot support Change "dfu_usb" to "usb_dfu" for better representation and change required macros. Add 60s timeout of dfu-utils to start transaction. Add support for usb thor to distro boot. Remove DFU_ALT_INFO_RAM as we use bootcmd_usb_dfu instead of dfu_ram. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/xilinx') diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index b17506453e1..6045eb2baa8 100644 --- a/board/xilinx/versal/board.c +++ b/board/xilinx/versal/board.c @@ -130,7 +130,7 @@ int board_late_init(void) switch (bootmode) { case USB_MODE: puts("USB_MODE\n"); - mode = "dfu_usb"; + mode = "usb_dfu0 usb_dfu1"; break; case JTAG_MODE: puts("JTAG_MODE\n"); -- cgit v1.2.3