mirror of
https://github.com/memtest86plus/memtest86plus.git
synced 2025-02-25 18:55:23 -06:00
XHCI: add device attach time delay after starting the controller.
This commit is contained in:
@@ -982,6 +982,7 @@ void *xhci_init(uintptr_t base_addr)
|
||||
pm_map[heap_segment].end = heap_segment_end;
|
||||
return NULL;
|
||||
}
|
||||
usleep(100*MILLISEC); // USB maximum device attach time.
|
||||
|
||||
// Record the controller context size.
|
||||
uint32_t context_size = cap_regs->hcc_params1 & 0x4 ? 64 : 32;
|
||||
|
||||
Reference in New Issue
Block a user