Hi,
As agreed during RTC support review, we submit first a series being a preparation for adding Armada 80x0 SoC support, which is a superset of existing in OpenPlatformPkg Armada 70x0. Because currently the devices hardware description is unnecessarily added in the PCD's, we begin a cleanup, allowing to achieve more flexible and scalable approach.
This patchset is a beginning of Armada 7k/8k support improvement, that will allow to store SoC's description in one place, accessible for the drivers and libraries. In near future more peripherals will be described in a similar way to storage devices, that are registered via PciEmulation.
The commits are also available in the github: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp-...
Any remarks or comments will be very welcome.
Best regards, Marcin
Konstantin Porotchkin (4): Platforms/Marvell: ComPhyLib: Fix compilation warning Platforms/Marvell: Add support for COMPHY on CP slaves Platform/Marvell: Extend and share the platform description Platform/Marvell: ComPhyLib: Enable SATA PHY init for multiple devices
Platforms/Marvell/Armada/Armada70x0.dsc | 9 +-- Platforms/Marvell/Include/Library/MvHwDescLib.h | 78 +++++++++++++++++++++++ Platforms/Marvell/Library/ComPhyLib/ComPhyCp110.c | 52 ++++++++++----- Platforms/Marvell/Library/ComPhyLib/ComPhyLib.c | 8 ++- Platforms/Marvell/Library/ComPhyLib/ComPhyLib.inf | 3 +- Platforms/Marvell/Marvell.dec | 4 -- Platforms/Marvell/PciEmulation/PciEmulation.c | 44 ++----------- 7 files changed, 128 insertions(+), 70 deletions(-) create mode 100644 Platforms/Marvell/Include/Library/MvHwDescLib.h