diff options
author | Marcin Wojtas <mw@semihalf.com> | 2017-09-01 13:17:58 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-09-01 13:06:50 +0100 |
commit | 7d5f2c7bf963f0761115053b602cc7aabfd986a2 (patch) | |
tree | 49c2281f3491c37f2b662438159c65d37a599d60 /Platform/Marvell/Documentation/PortingGuide | |
parent | 93a3838a2c397cd45a69c9275b780e3e9e91eb04 (diff) | |
download | edk2-platforms-7d5f2c7bf963f0761115053b602cc7aabfd986a2.tar.xz |
Drivers/Net/Pp2Dxe: Move devices description to MvHwDescLib
This patch introduces Pp2Dxe description, using the new structures
and template in MvHwDescLib. This change enables more flexible
addition of multiple Pp2Dxe controllers. For that purpose, static global
variables (BufferLocation and Mvpp2Shared) had to be replaced by
dynamically allocated resources. PortingGuide is updated accordingly.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Platform/Marvell/Documentation/PortingGuide')
-rw-r--r-- | Platform/Marvell/Documentation/PortingGuide/Pp2.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Platform/Marvell/Documentation/PortingGuide/Pp2.txt b/Platform/Marvell/Documentation/PortingGuide/Pp2.txt index 3c2f4188f0..9b829c920f 100644 --- a/Platform/Marvell/Documentation/PortingGuide/Pp2.txt +++ b/Platform/Marvell/Documentation/PortingGuide/Pp2.txt @@ -3,6 +3,9 @@ Pp2Dxe porting guide Pp2Dxe is driver supporting PP2 NIC on Marvell platforms. Following PCDs
are required to operate:
+Array with used controllers - Set to 0x1 for enabled, 0x0 for disabled:
+ gMarvellTokenSpaceGuid.PcdPp2Controllers
+
Number of ports/network interfaces:
gMarvellTokenSpaceGuid.PcdPp2NumPorts
@@ -30,9 +33,3 @@ PHY_SPEED (in Mbps) is defined as follows: 4 SPEED_2500,
5 SPEED_10000
} PHY_SPEED;
-
-Base address of shared register space of PP2:
- gMarvellTokenSpaceGuid.PcdPp2SharedAddress
-
-TCLK frequency in Hz:
- gMarvellTokenSpaceGuid.PcdPp2ClockFrequency
|