From patchwork Tue Apr 11 09:48:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 97231 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1727938qgd; Tue, 11 Apr 2017 02:48:45 -0700 (PDT) X-Received: by 10.237.36.105 with SMTP id s38mr17169158qtc.185.1491904124961; Tue, 11 Apr 2017 02:48:44 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f29si15942475qtg.228.2017.04.11.02.48.44; Tue, 11 Apr 2017 02:48:44 -0700 (PDT) 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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 61EFC635DB; Tue, 11 Apr 2017 09:48:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 52F65635FB; Tue, 11 Apr 2017 09:48:42 +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 69662635DB; Tue, 11 Apr 2017 09:48:41 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.linaro.org (Postfix) with ESMTPS id 323BF635DB for ; Tue, 11 Apr 2017 09:48:39 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id t189so56794097wmt.1 for ; Tue, 11 Apr 2017 02:48:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sRthhPCR65ilAfTs8t5Sm1Dg705iQ/AwZzPSFbmL1BQ=; b=m5FKBrkNPe9PKmWRbLTjfmDUBRh6+EuuatHMGhQGX/3pR5PyVHa1YGYjWm2V2t49sk NanXf1KoJy80HQ5enHpsUBpaik1HkUzi0cEhI0jqZ2fluGWHMosig1NBHsq031tYne0Y ULKWCmGNG55oajGKPVtny4wAGYX21E7nyQ06rIb3oDu4L0hUL5a4Bh4Qn8UPV4snDhWK eLz8fR/AdCU7QnIITWplpyYTGW7lJMpq8jHqkRKrxaxqsumxwcch02OB8gEm8IDVFrbR GB1Jvmw8zg2Xoztu6gOVuxChnP7czu7F2Rvudck57gLF3QeINDHaUCeHUzfuCteKGjK4 EC6w== X-Gm-Message-State: AN3rC/5ZPJrnlr7864cJYx/R+DI8zERPlYo9RDDExb7ipj6l9S1mgJFw fwAKZk9tD1ep2Mrr5xc= X-Received: by 10.28.157.84 with SMTP id g81mr9832105wme.120.1491904118322; Tue, 11 Apr 2017 02:48:38 -0700 (PDT) Received: from localhost.localdomain ([196.85.182.219]) by smtp.gmail.com with ESMTPSA id g63sm1771984wme.11.2017.04.11.02.48.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 02:48:37 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Tue, 11 Apr 2017 10:48:31 +0100 Message-Id: <20170411094832.8056-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 Cc: chenhui.sun@linaro.org Subject: [Linaro-uefi] [PATCH 1/2] Chips/Hisilicon: add missing UefiBootManagerLib resolution to shared .inc 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" Upstream EDK2 changes now require platforms that build the UEFI Shell from source to provide a resolution for UefiBootManagerLib, and some other library class it transitively depends on. So add them to the DSC include shared between the HiSilicon platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Chips/Hisilicon/Hisilicon.dsc.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Chips/Hisilicon/Hisilicon.dsc.inc b/Chips/Hisilicon/Hisilicon.dsc.inc index d856a659a8fb..716900874274 100644 --- a/Chips/Hisilicon/Hisilicon.dsc.inc +++ b/Chips/Hisilicon/Hisilicon.dsc.inc @@ -198,7 +198,12 @@ HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf + +[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION] + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [LibraryClasses.common.UEFI_DRIVER] ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf From patchwork Tue Apr 11 09:48:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 97232 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1727956qgd; Tue, 11 Apr 2017 02:48:48 -0700 (PDT) X-Received: by 10.36.78.76 with SMTP id r73mr10023675ita.48.1491904128162; Tue, 11 Apr 2017 02:48:48 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x9si1396922itf.60.2017.04.11.02.48.47; Tue, 11 Apr 2017 02:48:48 -0700 (PDT) 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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8FD4D63E63; Tue, 11 Apr 2017 09:48:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7D07463E63; Tue, 11 Apr 2017 09:48:45 +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 927F463E67; Tue, 11 Apr 2017 09:48:43 +0000 (UTC) Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by lists.linaro.org (Postfix) with ESMTPS id 595C3635DF for ; Tue, 11 Apr 2017 09:48:41 +0000 (UTC) Received: by mail-wr0-f172.google.com with SMTP id o21so136757469wrb.2 for ; Tue, 11 Apr 2017 02:48:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=a0hAVyql08BQpQ5R4nLqLrjjyW6dwLrulMyI62MjPRI=; b=KDUd2ISalaOd/pHkNOqn5wOT/Hzq5G+T6+oBwzQgE7U6II0o9MmoijFG+SteNBgblr PG+T3h280L7qfL70tC/ShzluBw5FT38dcJXqpI4kMqejMlapzCUSunynMJ2rh/BET9wf WabZTTSokCf/x70h5w++sIXOB9Ds2ZXGiNzv7v3nkig4T7UoEaAXWp/9yPIbOUnMDLZv fwaT/K3Rr7ins38cj6LHA5+8iLncRTuqewkJHIpGZifNSN0woIWGxVAgiVr+0hNifkKv M7hR9HMFz3bXvCUD5ybwHn1h9Sk2C9J7HFAciZmjQJwZxYajE1SbW1STX9cLeobK/Eu1 b4MQ== X-Gm-Message-State: AFeK/H2j5l+t7O7/PTA+VtdKR+fmEHt8dQSuXmwzFJN8rpHWVqcosyvIvt9ctqEwunNLE6s3Il4= X-Received: by 10.223.166.108 with SMTP id k99mr27155948wrc.139.1491904120472; Tue, 11 Apr 2017 02:48:40 -0700 (PDT) Received: from localhost.localdomain ([196.85.182.219]) by smtp.gmail.com with ESMTPSA id g63sm1771984wme.11.2017.04.11.02.48.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 02:48:39 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Tue, 11 Apr 2017 10:48:32 +0100 Message-Id: <20170411094832.8056-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170411094832.8056-1-ard.biesheuvel@linaro.org> References: <20170411094832.8056-1-ard.biesheuvel@linaro.org> Cc: chenhui.sun@linaro.org Subject: [Linaro-uefi] [PATCH 2/2] Chips/HiSilcon: remove ARM BdsLib resolution 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" The EBL shell nog longer depends on the deprecated ARM BdsLib, so remove the library class resolution for it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Chips/Hisilicon/Hisilicon.dsc.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/Chips/Hisilicon/Hisilicon.dsc.inc b/Chips/Hisilicon/Hisilicon.dsc.inc index 716900874274..b13be3143cd5 100644 --- a/Chips/Hisilicon/Hisilicon.dsc.inc +++ b/Chips/Hisilicon/Hisilicon.dsc.inc @@ -106,7 +106,6 @@ AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLibNull.inf # BDS Libraries - BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf UefiDevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf