serial-download-trap: add 10ms delay before jumping to ROM loader
parent
f0ac274dca
commit
4c2d02d2f3
|
@ -37,6 +37,7 @@ int probe_serial_download_trap(void)
|
|||
usbInput = gpio_get_value(IMX_GPIO_NR(6, 17));
|
||||
if (usbInput == 0) {
|
||||
printf("Going to serial download mode ...\n");
|
||||
mdelay(10);
|
||||
jump_rom_usb_download();
|
||||
while (1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue