From patchwork Sat Nov 19 08:37:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gary guo X-Patchwork-Id: 83079 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp503259qge; Sat, 19 Nov 2016 00:54:09 -0800 (PST) X-Received: by 10.36.254.6 with SMTP id w6mr2002638ith.101.1479545649649; Sat, 19 Nov 2016 00:54:09 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w10si4466389itf.37.2016.11.19.00.54.09; Sat, 19 Nov 2016 00:54:09 -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 E7C766067D; Sat, 19 Nov 2016 08:54:08 +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 5F1BB60D02; Sat, 19 Nov 2016 08:45:13 +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 40D4B634FC; Sat, 19 Nov 2016 08:44:32 +0000 (UTC) Received: from mail-pg0-f43.google.com (mail-pg0-f43.google.com [74.125.83.43]) by lists.linaro.org (Postfix) with ESMTPS id CA19160CF1 for ; Sat, 19 Nov 2016 08:39:55 +0000 (UTC) Received: by mail-pg0-f43.google.com with SMTP id f188so111034651pgc.3 for ; Sat, 19 Nov 2016 00:39: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=TYIJf3Atnu49PNr6WSll2k7T3VN3TUJU0TVJGD7X6WI=; b=gGSsvCAkl3lWYTbjvjqrgWPSLZGsGRDAdaw/gv0nG6qM9MdXkXtxs4xsFzpEiC5Zvb VA5TUUZG9vmL89wPugU8H9Wi31B8oSIcQY5NGnMZFV5pmCrh1SudubdRc308Mj4HT+9+ l8rExzfjtqt2JeYXqjQ31Rn8LRgBvUclEoihktWfGhoat/Rv905izsq4OZW0+/K5m2Vj 9cXGs76wSDyAv/EHByv+RYau+SjvDCn46kU1r/5U2oHEurpHnS6JYPKd01GHvGVcJ3zk xojekPBO3BFhRK6hdh8XA1cMT4ezijZLkvqiNv7gzO4fAg4IbJJVjKN3ol4M0AUVucsw +FLQ== X-Gm-Message-State: AKaTC00Tx8Mum0calrOj6YCl9i7k6Bwre2g/wMJ0eBp/FJI8jzFoVAP6nkJ6SQRAWpDv84eIqac= X-Received: by 10.98.35.211 with SMTP id q80mr5006071pfj.26.1479544795138; Sat, 19 Nov 2016 00:39:55 -0800 (PST) Received: from localhost.localdomain ([119.145.15.121]) by smtp.gmail.com with ESMTPSA id v193sm5106241pgb.37.2016.11.19.00.39.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Nov 2016 00:39:54 -0800 (PST) From: Heyi Guo To: linaro-uefi@lists.linaro.org Date: Sat, 19 Nov 2016 16:37:33 +0800 Message-Id: <1479544691-59575-19-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> References: <1479544691-59575-1-git-send-email-heyi.guo@linaro.org> Subject: [Linaro-uefi] [Patch v4 18/56] 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