libpayload: usb: Make OHCI work with ARM systems

Hardware / Coreboot - Julius Werner [chromium.org] - 22 October 2014 16:53 UTC

This patch enables the OHCI driver to use DMA memory, which is necessary for ARM systems where DMA devices are not cache coherent. I really only need this to test some later OHCI changes, but it was easy enough... copied almost verbatim from ehci.c.

Change-Id: Ia717eef28340bd6182a6782e83bfdd0693cf0db1

3b9795b libpayload: usb: Make OHCI work with ARM systems
payloads/libpayload/drivers/usb/ohci.c | 83 +++++++++++++++++-------
payloads/libpayload/drivers/usb/ohci_private.h | 2 +
2 files changed, 62 insertions(+), 23 deletions(-)

Upstream: review.coreboot.org


  • Share