From patchwork Thu Nov 10 13:52:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 81665 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp741972qge; Thu, 10 Nov 2016 06:06:56 -0800 (PST) X-Received: by 10.129.82.10 with SMTP id g10mr5966259ywb.66.1478786816381; Thu, 10 Nov 2016 06:06:56 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x75si3409696qkb.283.2016.11.10.06.06.56; Thu, 10 Nov 2016 06:06:56 -0800 (PST) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id EFC9C60DCA; Thu, 10 Nov 2016 14:06:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id CF7CB60E68; Thu, 10 Nov 2016 13:59:02 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D6A8E60E7E; Thu, 10 Nov 2016 13:58:54 +0000 (UTC) Received: from mail-pf0-f169.google.com (mail-pf0-f169.google.com [209.85.192.169]) by lists.linaro.org (Postfix) with ESMTPS id EDA0660E29 for ; Thu, 10 Nov 2016 13:53:55 +0000 (UTC) Received: by mail-pf0-f169.google.com with SMTP id n85so147124422pfi.1 for ; Thu, 10 Nov 2016 05:53:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=TjQ8pj0mSGA3mzrogXYWkD+A8c6AlQHFpvyk2lObmBY=; b=fte1s0ignBfIDCxdOJtiyjg0D/xkrOePkjuNvVbUl8Q/cD79w+cU2aczFoRy1hWMYz 1S7rVss8Yl0NHrMRSYeg+LVALqYrKl+Xxv9pDPpITLkINZ67k/oLv7BSOMAO2+NhsVjo zA+XXEvZHYI9uc6ynOpfGV0G+6ne2DxcHhW/xTKZ4yDHt3wRm2Jcy8md9iU+g19lH+zC xTws6ImVjdeCliCgKcXIK0bWHyVgSFf4A2w4fzoC7OzTQrLlXtE69p0J7VixhDYr4vMP Y5kuQ/D69xJZpWX/obmJG+iMUvbxb5hldfcE0dCY41W22XfRHfLKa7BFAHuhou9GHBA1 Pwjg== X-Gm-Message-State: ABUngvddTmMM/PAeckjwyhqnxcgZy7Oy9j1HF2Nl4ATWo5e2g50lgwPbdXKCMUd7XH5ruxnSO60= X-Received: by 10.98.44.212 with SMTP id s203mr10340705pfs.84.1478786035326; Thu, 10 Nov 2016 05:53:55 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id g78sm7625705pfe.19.2016.11.10.05.53.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Nov 2016 05:53:55 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Thu, 10 Nov 2016 21:52:21 +0800 Message-Id: <1478785950-24197-18-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478785950-24197-1-git-send-email-heyi.guo@linaro.org> References: <1478785950-24197-1-git-send-email-heyi.guo@linaro.org> Subject: [Linaro-uefi] [PATCH 17/27] D03/OemNicConfig: add CpldIoLib to avoid potential build error X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" 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 --- Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf | 1 + 1 file changed, 1 insertion(+) diff --git a/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf b/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf index 4327406..cc544f7 100644 --- a/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf +++ b/Platforms/Hisilicon/D03/Drivers/OemNicConfig2PHi1610/OemNicConfig2P.inf @@ -39,6 +39,7 @@ DebugLib IoLib TimerLib + CpldIoLib I2CLib PcdLib