libpayload: Always set pciaddr
For debugging purposes always set the pciaddr attribute. Tested on Lenovo T500. Change-Id: I83a0e7f7196ed251fa0becc4e56bef3ca68f20f4 Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/18599 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0f79a92bb6
commit
ac4819de70
|
@ -867,6 +867,9 @@ ehci_pci_init (pcidev_t addr)
|
||||||
|
|
||||||
controller = ehci_init((unsigned long)reg_base);
|
controller = ehci_init((unsigned long)reg_base);
|
||||||
|
|
||||||
|
if (controller)
|
||||||
|
controller->pcidev = addr;
|
||||||
|
|
||||||
return controller;
|
return controller;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -153,6 +153,7 @@ uhci_pci_init (pcidev_t addr)
|
||||||
u16 reg16;
|
u16 reg16;
|
||||||
|
|
||||||
hci_t *controller = new_controller ();
|
hci_t *controller = new_controller ();
|
||||||
|
controller->pcidev = addr;
|
||||||
controller->instance = xzalloc(sizeof (uhci_t));
|
controller->instance = xzalloc(sizeof (uhci_t));
|
||||||
controller->type = UHCI;
|
controller->type = UHCI;
|
||||||
controller->start = uhci_start;
|
controller->start = uhci_start;
|
||||||
|
|
Loading…
Reference in New Issue