USB controller detected on FireBee - needs a long wait time for config access there...

This commit is contained in:
Markus Fröschle
2013-11-09 08:33:26 +00:00
parent 4d27bb6f20
commit 3d711e37f2
7 changed files with 34 additions and 21 deletions

View File

@@ -270,7 +270,7 @@ static int ehci_reset(void)
uint32_t *reg_ptr;
int ret = 0;
if ((gehci.ent->vendor == PCI_VENDOR_ID_NEC)
&& (gehci.ent->device == PCI_DEVICE_ID_NEC_USB_2))
&& (gehci.ent->device == PCI_DEVICE_ID_NEC_USB_2))
{
debug("ehci_reset set 48MHz clock\r\n");
pci_write_config_longword(gehci.handle, 0xE4, 0x20); // oscillator