Nikhil,
Just like Martin said, there is a fake PCI bus driver to solve this issue. You can refer to Omap35xxPkg\PciEmulation, which produce PCI_IO protocol on arm board.
PS: It's just the EDKII implementation choice to depend on PCI bus. If your platform doesn't exist real PCI bus, you can emulate one then EDKII xHCI driver would work over it.
Thanks
Feng
From: Olivier Martin [mailto:***@arm.com]
Sent: Wednesday, July 01, 2015 22:48
To: edk2-***@lists.sourceforge.net
Subject: Re: [edk2] Questions regarding XHCI
I am guessing your question is to make the USB XHCI controller memory mapped device instead of relying on the PCI IO protocol.
There were some discussions on the EDK2 mailing-list few years ago about disconnecting the USB Host controller DXE driver from PCI IO driver.
The UEFI spec does not mandate to use USB Host controller over PCI Bus.
The idea was to create a new (UEFI) protocol that would abstract the hardware transport protocol as we did for the VirtIo devices.
At the moment we are creating fake PCI bus to workaround this limitation. But it is not the right approach.
Contributions are welcome!
From: Badola Nikhil [mailto:***@freescale.com]
Sent: 29 June 2015 13:14
To: edk2-***@lists.sourceforge.net<mailto:edk2-***@lists.sourceforge.net>
Subject: [edk2] Questions regarding XHCI
Could anyone please help me with below queries regarding USB XHCI controller as platform device
rather than as PCI device :
- Has anyone tested USB stack for XHCI controller as platform device after modifying exiting XhciDxe/* or
writing new host controller driver ?
- Which protocol would it consume in this case?
Regards,
Nikhil
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No: 2548782