From patchwork Fri Feb 24 18:36:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 94504 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp817771qgi; Fri, 24 Feb 2017 10:36:57 -0800 (PST) X-Received: by 10.107.20.84 with SMTP id 81mr3684728iou.145.1487961416986; Fri, 24 Feb 2017 10:36:56 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f20si2377409ita.17.2017.02.24.10.36.56; Fri, 24 Feb 2017 10:36: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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 38FBA62EAD; Fri, 24 Feb 2017 18:36:56 +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, 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 CFBA962E0B; Fri, 24 Feb 2017 18:36:50 +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 CB6DF62E0D; Fri, 24 Feb 2017 18:36:48 +0000 (UTC) Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by lists.linaro.org (Postfix) with ESMTPS id B4C3F62E09 for ; Fri, 24 Feb 2017 18:36:47 +0000 (UTC) Received: by mail-wr0-f169.google.com with SMTP id 89so18549810wrr.3 for ; Fri, 24 Feb 2017 10:36:47 -0800 (PST) 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=Tc16scznhe+xnwwVg5Mr/toLWFBiwOpOp0EeK7mXqEg=; b=VjrXkBkN0ayvwMuwTaYqnADfzlzLdLJrM9AXS5nxTmSLXphj7R866+avcFv7io1NSO H2g9IMtgb4eYB0VxvT5yCnHNl+PPIYfxv7Lv6dn4eW5ejVlsvvOcYZryY7a7IYYvLrNU 9IDIz6WsXmxsCVWJsPJcf0E0UPbv3G3lJRdsrBPDVblvBdDSC2juKEOynRRki73ELB9z 4c9ahkLPR/vYXVirStzC/jEl8/z4pzjL79uaCGgM1WwuNZ4OFcTHQSNE4D7SJx6pLRY8 fk+TyB9k0nCnxJGPCPBe15wuEnWlDJy32OjrX2yF9p8gAmYtaTZ8D+06oobm/CZlrOeF revg== X-Gm-Message-State: AMke39nb+T7vE1DvlH7uaxMfOJjVGvnGRGLqTbdGVGpqBki2Q09Js31oJUPlfgqJprTBhI9xrS0= X-Received: by 10.223.147.164 with SMTP id 33mr3976670wrp.108.1487961406772; Fri, 24 Feb 2017 10:36:46 -0800 (PST) Received: from localhost.localdomain ([105.149.201.216]) by smtp.gmail.com with ESMTPSA id g23sm3316982wme.27.2017.02.24.10.36.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 10:36:45 -0800 (PST) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org Date: Fri, 24 Feb 2017 18:36:40 +0000 Message-Id: <1487961400-16119-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [Linaro-uefi] [PATCH] Treewide: remove references to VirtualUncachedPages libraries and PCDs 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" Clean up any [commented out] references to the recently removed DebugUncachedMemoryAllocationLib, and to the related PCD PcdArmUncachedMemoryMask which will be removed as soon as all references are gone. While we're at it, remove some stale comments as well. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Chips/Hisilicon/Hisilicon.dsc.inc | 9 --------- Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc | 5 ----- Platforms/ARM/VExpress/ArmVExpress.dsc.inc | 10 ---------- Platforms/Hisilicon/D02/Pv660D02.dsc | 10 ---------- Platforms/Hisilicon/D03/D03.dsc | 12 ------------ Platforms/Hisilicon/D05/D05.dsc | 7 ------- Platforms/Hisilicon/HiKey/HiKey.dsc | 5 ----- Platforms/Marvell/Armada/Armada.dsc.inc | 1 - 8 files changed, 59 deletions(-) diff --git a/Chips/Hisilicon/Hisilicon.dsc.inc b/Chips/Hisilicon/Hisilicon.dsc.inc index 510ee1d2898e..4c6eea0ea428 100644 --- a/Chips/Hisilicon/Hisilicon.dsc.inc +++ b/Chips/Hisilicon/Hisilicon.dsc.inc @@ -340,15 +340,6 @@ gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0 # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000 - - # - # ARM PrimeCell - # - - # # ARM OS Loader # # Versatile Express machine type (ARM VERSATILE EXPRESS = 2272) required for ARM Linux: diff --git a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc index cf4b803096f1..56feed48495f 100644 --- a/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc +++ b/Platforms/ARM/VExpress/ArmVExpress-FVP-AArch64.dsc @@ -114,11 +114,6 @@ # Size of the region used by UEFI in permanent memory (Reserved 64MB) gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x04000000 - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - ## Trustzone enable (to make the transition from EL3 to NS EL2 in ArmPlatformPkg/Sec) gArmTokenSpaceGuid.PcdTrustzoneSupport|TRUE diff --git a/Platforms/ARM/VExpress/ArmVExpress.dsc.inc b/Platforms/ARM/VExpress/ArmVExpress.dsc.inc index ddf617c850c8..c94001b3bcdb 100644 --- a/Platforms/ARM/VExpress/ArmVExpress.dsc.inc +++ b/Platforms/ARM/VExpress/ArmVExpress.dsc.inc @@ -25,7 +25,6 @@ !else DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf UncachedMemoryAllocationLib|ArmPkg/Library/UncachedMemoryAllocationLib/UncachedMemoryAllocationLib.inf -# UncachedMemoryAllocationLib|ArmPkg/Library/DebugUncachedMemoryAllocationLib/DebugUncachedMemoryAllocationLib.inf !endif DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf @@ -394,15 +393,6 @@ gArmVExpressTokenSpaceGuid.PcdAndroidFastbootNvmDevicePath|L"VenHw(09831032-6FA3-4484-AF4F-0A000A8D3A82)" # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000 - - # - # ARM PrimeCell - # - - # # FileSystem # diff --git a/Platforms/Hisilicon/D02/Pv660D02.dsc b/Platforms/Hisilicon/D02/Pv660D02.dsc index 2f5fbe53217a..b61157905829 100644 --- a/Platforms/Hisilicon/D02/Pv660D02.dsc +++ b/Platforms/Hisilicon/D02/Pv660D02.dsc @@ -126,16 +126,6 @@ # Size of the region used by UEFI in permanent memory (Reserved 64MB) gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000 - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - - # - # ARM PrimeCell - # - - ## SP805 Watchdog - Motherboard Watchdog gArmPlatformTokenSpaceGuid.PcdSP805WatchdogBase|0x801e0000 diff --git a/Platforms/Hisilicon/D03/D03.dsc b/Platforms/Hisilicon/D03/D03.dsc index 4c903268c8b3..9c73494c7398 100644 --- a/Platforms/Hisilicon/D03/D03.dsc +++ b/Platforms/Hisilicon/D03/D03.dsc @@ -143,18 +143,6 @@ gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000 gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag|1 - - - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - - # - # ARM PrimeCell - # - - gHisiTokenSpaceGuid.PcdSlotPerChannelNum|0x2 diff --git a/Platforms/Hisilicon/D05/D05.dsc b/Platforms/Hisilicon/D05/D05.dsc index 5645b15b255c..2877da013bd5 100644 --- a/Platforms/Hisilicon/D05/D05.dsc +++ b/Platforms/Hisilicon/D05/D05.dsc @@ -155,13 +155,6 @@ gArmPlatformTokenSpaceGuid.PcdSystemMemoryUefiRegionSize|0x10000000 gHisiTokenSpaceGuid.PcdSerDesFlowCtrlFlag|1 - - - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - gHisiTokenSpaceGuid.PcdSlotPerChannelNum|0x2 diff --git a/Platforms/Hisilicon/HiKey/HiKey.dsc b/Platforms/Hisilicon/HiKey/HiKey.dsc index 492faaa02429..a9b29f2b0e9b 100644 --- a/Platforms/Hisilicon/HiKey/HiKey.dsc +++ b/Platforms/Hisilicon/HiKey/HiKey.dsc @@ -296,11 +296,6 @@ gArmTokenSpaceGuid.PcdVFPEnabled|1 # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000 - - # # ARM PrimeCell # diff --git a/Platforms/Marvell/Armada/Armada.dsc.inc b/Platforms/Marvell/Armada/Armada.dsc.inc index aac6b7f66f78..da48ea6702e1 100644 --- a/Platforms/Marvell/Armada/Armada.dsc.inc +++ b/Platforms/Marvell/Armada/Armada.dsc.inc @@ -359,7 +359,6 @@ gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE # ARM Pcds - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000000000000 gArmTokenSpaceGuid.PcdSystemMemoryBase|0 gArmTokenSpaceGuid.PcdSystemMemorySize|0x40000000 gArmTokenSpaceGuid.PcdArmScr|0x531