diff mbox

[Linaro-uefi,linaro-uefi,v5,04/44] D03/OemNicConfig: add CpldIoLib to avoid potential build error

Message ID 1480652017-31676-5-git-send-email-heyi.guo@linaro.org
State Accepted
Commit 0be74aeb0dc55185e383bf2bc2642645c8790ebe
Headers show

Commit Message

gary guo Dec. 2, 2016, 4:12 a.m. UTC
D03 OemNicConfig driver is using CpldIoLib, so CpldIoLib needs
to be added to the INF file to avoid potential build error.

The reason why it didn't cause D03 build failure is that CpldIoLib is
invoked by this module implicitly via below chain:
I2CLib->PlatformSysCtrlLib of Hi1610->OemAddressMapLib of D03->CpldIoLib

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Heyi Guo <heyi.guo@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
---
 Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf b/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf
index 4327406..8e1fd9d 100644
--- a/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf
+++ b/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf
@@ -34,6 +34,7 @@ 
   gHisiBoardXgeStatusProtocolGuid
 
 [LibraryClasses]
+  CpldIoLib
   UefiDriverEntryPoint
   UefiBootServicesTableLib
   DebugLib