Hi,
I send combined patchset of SD/MMC and PciEmulation support, in order to provide reorganized branch for merge. The biggest change is leaving untouched most of imported files, whose renaming was removed. More details can be found in the changelog.
Code is also available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp-...
We are looking forward to any comments or remarks.
Best regards, Marcin
Changelog: v3 -> v4 - Leave original names of imported files - Modify copyrights only in updated files - Change GUID and BASE_NAME of XenonDxe driver - Squash second SD/MMC port addition to initial commit of PciEmulation - Mix order of commits with PciEmulation patchset - Add 'Reviewed-by' to according commits
v2 -> v3 - Move driver to Drivers/SdMmc/XenonDxe/ directory - Use 'Retry' instead of 'Timeout', when necessary - Add comments to remaining stalls - Enable DMA and remove PIO-related modifications - Add description of the second controller in PciEmulation (new commit)
v1 -> v2
- Import whole stack from MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ - Move driver to Drivers/SdMmc/Xenon/ directory - Use Slot number 0 only, since XENON is using only this one - Remove unnecessary delay - Move SD/MMC PHY configuration to MPP lib (additional commit) - Replace comments with defines - Add descriptions to delays - Improve commit logs
Jan Dąbroś (8): Drivers/SdMmc: Import SdMmcPciHcDxe driver Drivers/SdMmc: Replace deprecated debug level macros Drivers/SdMmc: Adjust stack to fulfill Xenon controller demands Platforms/Marvell: MppLib: Configure SD/MMC PHY Platforms/Marvell: Enable USB stack for Armada70x0 platform Platforms/Marvell: Enable SATA stack for Armada70x0 platform Platforms/Marvell: Enable SD/MMC stack for Armada70x0 platforms Platforms/Marvell: Enable PciEmulation driver for Armada70x0 platform
Marcin Wojtas (4): Platforms/Marvell: Add PciEmulation driver Platforms/Marvell: Enable two xHCI ports for Armada70x0 board Platforms/Marvell: Enable SATA port for Armada70x0 board Platforms/Marvell: Enable SD/MMC for Armada70x0 board
.../Marvell/PortingGuide/PciEmulation.txt | 31 + Drivers/SdMmc/XenonDxe/ComponentName.c | 211 +++ Drivers/SdMmc/XenonDxe/EmmcDevice.c | 1162 ++++++++++++ Drivers/SdMmc/XenonDxe/SdDevice.c | 1190 ++++++++++++ Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.c | 1315 +++++++++++++ Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.h | 785 ++++++++ Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.inf | 64 + Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.uni | 23 + Drivers/SdMmc/XenonDxe/SdMmcPciHcDxeExtra.uni | 19 + Drivers/SdMmc/XenonDxe/SdMmcPciHci.c | 1923 ++++++++++++++++++++ Drivers/SdMmc/XenonDxe/SdMmcPciHci.h | 546 ++++++ Drivers/SdMmc/XenonDxe/XenonSdhci.c | 665 +++++++ Drivers/SdMmc/XenonDxe/XenonSdhci.h | 346 ++++ Platforms/Marvell/Armada/Armada.dsc.inc | 25 + Platforms/Marvell/Armada/Armada70x0.dsc | 8 + Platforms/Marvell/Armada/Armada70x0.fdf | 25 +- Platforms/Marvell/Library/MppLib/MppLib.c | 53 + Platforms/Marvell/Library/MppLib/MppLib.inf | 1 + Platforms/Marvell/Marvell.dec | 5 + Platforms/Marvell/PciEmulation/PciEmulation.c | 230 +++ Platforms/Marvell/PciEmulation/PciEmulation.inf | 61 + 21 files changed, 8687 insertions(+), 1 deletion(-) create mode 100644 Documentation/Marvell/PortingGuide/PciEmulation.txt create mode 100644 Drivers/SdMmc/XenonDxe/ComponentName.c create mode 100755 Drivers/SdMmc/XenonDxe/EmmcDevice.c create mode 100644 Drivers/SdMmc/XenonDxe/SdDevice.c create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.c create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.h create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.inf create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHcDxe.uni create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHcDxeExtra.uni create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHci.c create mode 100644 Drivers/SdMmc/XenonDxe/SdMmcPciHci.h create mode 100755 Drivers/SdMmc/XenonDxe/XenonSdhci.c create mode 100644 Drivers/SdMmc/XenonDxe/XenonSdhci.h create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.c create mode 100644 Platforms/Marvell/PciEmulation/PciEmulation.inf