summaryrefslogtreecommitdiff
path: root/Platform/Marvell/Armada
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2017-04-20 17:14:58 +0200
committerLeif Lindholm <leif.lindholm@linaro.org>2017-10-09 17:41:59 +0100
commit6e6bb65388334f23c1544dd03a444a301fca36a6 (patch)
tree94ae46839b6f7c9e4873f439c6cc714018fc845f /Platform/Marvell/Armada
parent93a4bcbe8d81582c6aaa751b4ca5019e88d3d833 (diff)
downloadedk2-platforms-6e6bb65388334f23c1544dd03a444a301fca36a6.tar.xz
Marvell/Drivers: MvI2cDxe: Move devices description to MvHwDescLib
This patch introduces I2c description, using the new structures and template in MvHwDescLib. This change enables more flexible addition of multiple I2c controllers and also allows for removal of string PCD parsing. Update Armada 70x0 DB description and PortingGuide accordingly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas <mw@semihalf.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'Platform/Marvell/Armada')
-rw-r--r--Platform/Marvell/Armada/Armada70x0.dsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Platform/Marvell/Armada/Armada70x0.dsc b/Platform/Marvell/Armada/Armada70x0.dsc
index dae9715727..c11a973ba0 100644
--- a/Platform/Marvell/Armada/Armada70x0.dsc
+++ b/Platform/Marvell/Armada/Armada70x0.dsc
@@ -78,7 +78,7 @@
# I2C
gMarvellTokenSpaceGuid.PcdI2cSlaveAddresses|{ 0x50, 0x57, 0x60 }
gMarvellTokenSpaceGuid.PcdI2cSlaveBuses|{ 0x0, 0x0, 0x0 }
- gMarvellTokenSpaceGuid.PcdI2cBaseAddresses|L"0xF2701000;0xF2701100"
+ gMarvellTokenSpaceGuid.PcdI2cControllersEnabled|{ 0x1, 0x1 }
gMarvellTokenSpaceGuid.PcdEepromI2cAddresses|{ 0x50, 0x57 }
gMarvellTokenSpaceGuid.PcdEepromI2cBuses|{ 0x0, 0x0 }
gMarvellTokenSpaceGuid.PcdI2cClockFrequency|250000000