From patchwork Fri Dec 2 04:12:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 86197 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp84493qgi; Thu, 1 Dec 2016 20:17:30 -0800 (PST) X-Received: by 10.237.42.129 with SMTP id t1mr40353308qtd.147.1480652250369; Thu, 01 Dec 2016 20:17:30 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r11si1991493qte.235.2016.12.01.20.17.30; Thu, 01 Dec 2016 20:17:30 -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 0143C62F6E; Fri, 2 Dec 2016 04:17:29 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 074E962EDD; Fri, 2 Dec 2016 04:15:54 +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 2E43B62EF4; Fri, 2 Dec 2016 04:15:51 +0000 (UTC) Received: from mail-pf0-f181.google.com (mail-pf0-f181.google.com [209.85.192.181]) by lists.linaro.org (Postfix) with ESMTPS id 4D69A60EE4 for ; Fri, 2 Dec 2016 04:15:05 +0000 (UTC) Received: by mail-pf0-f181.google.com with SMTP id c4so50179899pfb.1 for ; Thu, 01 Dec 2016 20:15:05 -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=26VJsmO22z+PREDkng2qkuyUVxQeqSrl2T9ITrvqcYs=; b=DvMZ7icHuKFFg2k/Gmf8YWBzXyXoYFLYymSyJqZKmJ4rB7UEiIUcutKkLgctgxX5bI ZvbInN0bsoyvLSG91nxTMmFLo9Vd0U26uz+JIH126448L9ZqbeHzwypVb0BhKD88ar9x FAo+ZrGQfzP1zHcxd7XcwuNQngdmjWhWzBEYESLZUnGrWb6tsveI2FeZTumAuy7rZGB+ uvsZBQV+NS+NP4rp2MM4Es/oQhip5yDzxnidXVnHzC+Z/KBs7nwD+4Iod/eC5qqdIEMf t215h6/5wzovrFzivjqHB9KlTDVlRQSDAE09OLI/dL7bXFwVvaC1VJppBA3FySmflhE6 HUBg== X-Gm-Message-State: AKaTC00zdsBqceIxG3l7R7O0efikzs8sJu5IvZkfZoDXXBABvxF+DBzKvDkv5I7IYu0AVx7D38I= X-Received: by 10.98.150.88 with SMTP id c85mr42603687pfe.68.1480652104610; Thu, 01 Dec 2016 20:15:04 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id u78sm3402349pfa.53.2016.12.01.20.15.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 20:15:04 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Fri, 2 Dec 2016 12:12:57 +0800 Message-Id: <1480652017-31676-5-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1480652017-31676-1-git-send-email-heyi.guo@linaro.org> References: <1480652017-31676-1-git-send-email-heyi.guo@linaro.org> Cc: sunchenhui@huawei.com, wanghuiqiang@huawei.com Subject: [Linaro-uefi] [linaro-uefi v5 04/44] 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 Reviewed-by: Leif Lindholm --- 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..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