summaryrefslogtreecommitdiff
path: root/Silicon/Marvell
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 /Silicon/Marvell
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 'Silicon/Marvell')
-rw-r--r--Silicon/Marvell/Documentation/PortingGuide.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Silicon/Marvell/Documentation/PortingGuide.txt b/Silicon/Marvell/Documentation/PortingGuide.txt
index 25cb66b44b..b2bb5957d0 100644
--- a/Silicon/Marvell/Documentation/PortingGuide.txt
+++ b/Silicon/Marvell/Documentation/PortingGuide.txt
@@ -189,8 +189,8 @@ In order to enable driver on a new platform, following steps need to be taken:
(buses to which accoring slaves are attached)
- gMarvellTokenSpaceGuid.PcdI2cBusCount|2
(number of SoC's I2C buses)
- - gMarvellTokenSpaceGuid.PcdI2cBaseAddresses|L"0xF2701000;0xF2701100"
- (base addresses of I2C controller buses)
+ - gMarvellTokenSpaceGuid.PcdI2cControllersEnabled|{ 0x1, 0x1 }
+ (array with used controllers)
- gMarvellTokenSpaceGuid.PcdI2cClockFrequency|200000000
(I2C host controller clock frequency)
- gMarvellTokenSpaceGuid.PcdI2cBaudRate|100000