Hi,
Since serdes, mdio and phy support of Armada 7040 has been integrated to the tree, here is another part of the platform. This short patchset comprise only adding and enabling driver for a single network controller with multi-port.
It consumes Simple Network Protocol and registers as many of its instances as defined in PCD's. Please refer to porting guide and the commit logs for more details. The driver itself is not huge and it makes use of the OS-independent library obtained from Marvell, comprising pure HW configuration. Drivers/Net/Pp2Dxe/Pp2Dxe.h is therefore a glue between the library and UEFI environment.
The patches are also available in the public github tree: https://github.com/MarvellEmbeddedProcessors/edk2-open-platform/commits/opp-...
Any comments or remarks would be welcome.
Best regards, Marcin
Bartosz Szczepanek (3): Drivers/Net: Import mvpp2_lib Drivers/Net: Create Pp2Dxe driver Platforms/Marvell: Enable Pp2Dxe driver on Armada70x0 platform
Documentation/Marvell/PortingGuide/Pp2.txt | 59 + Drivers/Net/Pp2Dxe/Pp2Dxe.c | 1190 ++++++++ Drivers/Net/Pp2Dxe/Pp2Dxe.h | 530 ++++ Drivers/Net/Pp2Dxe/Pp2Dxe.inf | 91 + Drivers/Net/Pp2Dxe/mvpp2_lib.c | 4299 ++++++++++++++++++++++++++++ Drivers/Net/Pp2Dxe/mvpp2_lib.h | 2362 +++++++++++++++ Platforms/Marvell/Armada/Armada.dsc.inc | 1 + Platforms/Marvell/Armada/Armada70x0.dsc | 18 +- Platforms/Marvell/Armada/Armada70x0.fdf | 1 + Platforms/Marvell/Marvell.dec | 16 + 10 files changed, 8566 insertions(+), 1 deletion(-) create mode 100644 Documentation/Marvell/PortingGuide/Pp2.txt create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.c create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.h create mode 100644 Drivers/Net/Pp2Dxe/Pp2Dxe.inf create mode 100644 Drivers/Net/Pp2Dxe/mvpp2_lib.c create mode 100644 Drivers/Net/Pp2Dxe/mvpp2_lib.h