summaryrefslogtreecommitdiff
path: root/Platform/Marvell/Armada
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2017-09-01 13:17:58 +0200
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2017-09-01 13:06:50 +0100
commit7d5f2c7bf963f0761115053b602cc7aabfd986a2 (patch)
tree49c2281f3491c37f2b662438159c65d37a599d60 /Platform/Marvell/Armada
parent93a3838a2c397cd45a69c9275b780e3e9e91eb04 (diff)
downloadedk2-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/Armada')
-rw-r--r--Platform/Marvell/Armada/Armada70x0.dsc3
1 files changed, 1 insertions, 2 deletions
diff --git a/Platform/Marvell/Armada/Armada70x0.dsc b/Platform/Marvell/Armada/Armada70x0.dsc
index 893fbe3ea7..fdecb7b0a3 100644
--- a/Platform/Marvell/Armada/Armada70x0.dsc
+++ b/Platform/Marvell/Armada/Armada70x0.dsc
@@ -118,13 +118,12 @@
#NET
gMarvellTokenSpaceGuid.PcdPhySmiAddresses|{ 0xff, 0x0, 0x1 }
- gMarvellTokenSpaceGuid.PcdPp2ClockFrequency|333333333
gMarvellTokenSpaceGuid.PcdPp2GopIndexes|{ 0x0, 0x2, 0x3 }
gMarvellTokenSpaceGuid.PcdPp2InterfaceAlwaysUp|{ 0x0, 0x0, 0x0 }
gMarvellTokenSpaceGuid.PcdPp2InterfaceSpeed|{ 0x5, 0x3, 0x3 }
gMarvellTokenSpaceGuid.PcdPp2NumPorts|3
gMarvellTokenSpaceGuid.PcdPp2PortIds|{ 0x0, 0x1, 0x2 }
- gMarvellTokenSpaceGuid.PcdPp2SharedAddress|0xf2000000
+ gMarvellTokenSpaceGuid.PcdPp2Controllers|{ 0x1 }
#PciEmulation
gMarvellTokenSpaceGuid.PcdPciEXhci|{ 0x1, 0x1, 0x0, 0x0 }