xilinx: zynqmp: Add usb dfu/thor distro boot support
In usb boot mode distro boot should select usb device as primary boot device instead of usb host. So make usb dfu as primary boot device. But do not list it in boot_targets as fallback option because it is not classic mode for booting. Using 60s timeout by default should be enough time for dfu-utils to start transaction. In case none needs this please change timeout value in the command or disable CONFIG_DFU_TIMEOUT. Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
committed by
Michal Simek
parent
74fe3f2ef3
commit
ef1be3e364
@@ -571,7 +571,7 @@ int board_late_init(void)
|
||||
switch (bootmode) {
|
||||
case USB_MODE:
|
||||
puts("USB_MODE\n");
|
||||
mode = "usb";
|
||||
mode = "usb_dfu0 usb_dfu1";
|
||||
env_set("modeboot", "usb_dfu_spl");
|
||||
break;
|
||||
case JTAG_MODE:
|
||||
|
||||
Reference in New Issue
Block a user