From patchwork Wed May 11 16:00:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 67601 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp309991qge; Wed, 11 May 2016 09:18:33 -0700 (PDT) X-Received: by 10.55.11.133 with SMTP id 127mr4846720qkl.160.1462983513412; Wed, 11 May 2016 09:18:33 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z34si5694508qgz.49.2016.05.11.09.18.33; Wed, 11 May 2016 09:18:33 -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 dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1561461647; Wed, 11 May 2016 16:18:33 +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_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED 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 9F8F66163F; Wed, 11 May 2016 16:04:52 +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 B0B5061662; Wed, 11 May 2016 16:04:44 +0000 (UTC) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by lists.linaro.org (Postfix) with ESMTPS id B965561662 for ; Wed, 11 May 2016 16:01:20 +0000 (UTC) Received: by mail-wm0-f52.google.com with SMTP id a17so90973449wme.0 for ; Wed, 11 May 2016 09:01:20 -0700 (PDT) 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=X2omlVKPyCD3E4CTn7TZ0I350/hlC6GBedDKt4F/zXA=; b=EjBQDA+Vqs4+HD4cOjL1qubnXHOlKIJte/Zwe99taYFopeuAby24fJP62XmP9MvSwh kx1m5tGIQAjYcLuYB/C9nILIs7wdBG6bbQz7BDbZeQlQVYuPcZ5cMBaIxQGhqlWPbK9W 1q+KvVAtPvpTdZSubIu7oWMaKtn/4v1DUjHtyjHoUdqFPhjdsVLUmDMmsNRegSc4KsAq rsKtg4pyc7ekiBblUbdOoSyxE90EwNYQ9WrmB7zBuEXKBCjolVFORU+28SKiTgehgYsP RIuQb0mJoHMe67ZwMQkCLT6W/s5s/Y4AVWIXbDVFnzt/dYLlGT6quEjh3h6DCohinjgB LM3g== X-Gm-Message-State: AOPr4FU78woNUWEW/GYUho4muHkLnMRuH0vXKHmq8hwcwWYGLo0JJIFSrcdLz92hhlo9KpyrsKQ= X-Received: by 10.28.46.209 with SMTP id u200mr4992798wmu.97.1462982479842; Wed, 11 May 2016 09:01:19 -0700 (PDT) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id f11sm36699133wmf.22.2016.05.11.09.01.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 May 2016 09:01:18 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Wed, 11 May 2016 18:00:47 +0200 Message-Id: <1462982452-1316-7-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1462982452-1316-1-git-send-email-ard.biesheuvel@linaro.org> References: <1462982452-1316-1-git-send-email-ard.biesheuvel@linaro.org> Cc: leo.duran@amd.com Subject: [Linaro-uefi] [PATCH 06/11] Platforms/AMD/Styx/OverdriveBoard: make BdsLib reference local to FdtDxe 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 ARM BDS is long gone, but its utility library BdsLib is still used in some places, like FdtDxe. So make the BdsLib local to the FdtDxe.inf reference in the Overdrive .DSC to prevent new references from other modules creeping in. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc index aa64be59a204..6eac8e4d64d5 100644 --- a/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc +++ b/Platforms/AMD/Styx/OverdriveBoard/OverdriveBoard.dsc @@ -152,9 +152,9 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2) DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf DebugAgentTimerLib|EmbeddedPkg/Library/DebugAgentTimerLibNull/DebugAgentTimerLibNull.inf - # BDS Libraries - BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf - FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf [LibraryClasses.common.SEC] HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf @@ -640,7 +640,12 @@ DEFINE TRANS_CODE = $(EL3_TO_EL2) # # FDT support # - OpenPlatformPkg/Platforms/AMD/Styx/OverdriveBoard/FdtDxe/FdtDxe.inf + OpenPlatformPkg/Platforms/AMD/Styx/OverdriveBoard/FdtDxe/FdtDxe.inf { + + # deprecated BdsLib from the ARM BDS + BdsLib|ArmPkg/Library/BdsLib/BdsLib.inf + FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf + } # # PCI support