From patchwork Fri Feb 24 18:40:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 94505 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp819157qgi; Fri, 24 Feb 2017 10:40:35 -0800 (PST) X-Received: by 10.99.54.15 with SMTP id d15mr5221612pga.153.1487961635912; Fri, 24 Feb 2017 10:40:35 -0800 (PST) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id y203si8060494pfb.114.2017.02.24.10.40.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 10:40:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 423428218F; Fri, 24 Feb 2017 10:40:35 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3D5EA8217E for ; Fri, 24 Feb 2017 10:40:33 -0800 (PST) Received: by mail-wm0-x232.google.com with SMTP id v77so21095404wmv.0 for ; Fri, 24 Feb 2017 10:40:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=/dQKYB42XgqtN9JcDMRxhVWkCgHxaOqMpdoXyaxFN6Y=; b=FZ/S8yXwRxO1Y6CX2oLndFjpEcHzX1fAoiNk56lrd8vA9D2a1C1YHYaFyM4jz5vB5C e/jhXNgM8pWuCamAIK5mqN8J+YYLV0v+K8YhpV+8jfkVH6AIM9viMoROv0czRK9txPAL a+zf4OeR7ajcFjjNq6XScvx4s6E1IiGCeq3TM= 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=/dQKYB42XgqtN9JcDMRxhVWkCgHxaOqMpdoXyaxFN6Y=; b=FCVh3KtaZjlU2EtQzcUfGng6CeAo8iITA9lLtJLS7hzZDGKJ1xg5c0HiNWeOZ3hBHH WbDlb8l77h4X1UfZqumfswMoRvpXZgogQEJM3rITkv+rUQDlNhTym7ZpOD3/kBvAvwCO wzOjidcKVhy87abM4mUGj02e3D7K03eOHbLrBis6TtRDBZs7zdJXb7/lLTGdemP79vj5 apGPiUvWNAc7Q855Of+x/48RcDSbxxfukm1SOZ4qg9BN+RKclYeOtzSEn0Gdq08YOp+u 1B9YQG82lA9XFPEY5e9f4yWYLUwk5ehIqlrPm00LkgdHb6Ss0izudVfFrVEaEjo7NCBs YXAw== X-Gm-Message-State: AMke39ndfINMWvPp/qip/LGp0vY3A+dnWPnLNycPXuqeqJWMeROs4Bl7ZOvrheMFY9BGlA7a X-Received: by 10.28.87.85 with SMTP id l82mr3840626wmb.135.1487961631831; Fri, 24 Feb 2017 10:40:31 -0800 (PST) Received: from localhost.localdomain ([105.149.201.216]) by smtp.gmail.com with ESMTPSA id c26sm11330434wra.51.2017.02.24.10.40.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 10:40:31 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org Date: Fri, 24 Feb 2017 18:40:25 +0000 Message-Id: <1487961625-16786-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH] ArmPkg: remove unused PcdArmUncachedMemoryMask PCD X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: lersek@redhat.com, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" This removes the PCD PcdArmUncachedMemoryMask from ArmPkg, along with any remaining references to it in various platform .DSC files. It is no longer used now that we removed the virtual uncached pages protocol and the associated DebugUncachedMemoryAllocationLib library instance. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPkg/ArmPkg.dec | 1 - ArmVirtPkg/ArmVirtQemu.dsc | 5 ----- ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 ----- BeagleBoardPkg/BeagleBoardPkg.dsc | 5 ----- Omap35xxPkg/Omap35xxPkg.dsc | 5 ----- 5 files changed, 21 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek Reviewed-by: Leif Lindholm diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index 4fd7a5be5158..c4b4da2f95bb 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -84,7 +84,6 @@ [PcdsFixedAtBuild.common] # Using a FeaturePcd make a '(BOOLEAN) casting for its value which is not understood by the preprocessor. gArmTokenSpaceGuid.PcdVFPEnabled|0|UINT32|0x00000024 - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000080000000|UINT64|0x00000002 # This PCD will free the unallocated buffers if their size reach this threshold. # We set the default value to 512MB. gArmTokenSpaceGuid.PcdArmFreeUncachedMemorySizeThreshold|0x20000000|UINT64|0x00000003 diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index 8fe3c3816961..00cdd7c20201 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -113,11 +113,6 @@ [PcdsFixedAtBuild.common] # 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 EL2 in ArmPlatformPkg/Sec) gArmTokenSpaceGuid.PcdTrustzoneSupport|FALSE diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index aa40374745af..8354b13ddb1a 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -113,11 +113,6 @@ [PcdsFixedAtBuild.common] # 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 EL2 in ArmPlatformPkg/Sec) gArmTokenSpaceGuid.PcdTrustzoneSupport|FALSE diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc index a71a01ac7723..87879c33fcd9 100644 --- a/BeagleBoardPkg/BeagleBoardPkg.dsc +++ b/BeagleBoardPkg/BeagleBoardPkg.dsc @@ -368,11 +368,6 @@ [PcdsFixedAtBuild.common] # Shell. gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|10 # GUID of the UEFI Shell diff --git a/Omap35xxPkg/Omap35xxPkg.dsc b/Omap35xxPkg/Omap35xxPkg.dsc index ad7d9898c330..fc94ca7ed129 100644 --- a/Omap35xxPkg/Omap35xxPkg.dsc +++ b/Omap35xxPkg/Omap35xxPkg.dsc @@ -162,11 +162,6 @@ [PcdsFixedAtBuild.common] # OMAP Interrupt Controller gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x48200000 - # - # ARM Pcds - # - gArmTokenSpaceGuid.PcdArmUncachedMemoryMask|0x0000000040000000 - ################################################################################ # # Components Section - list of all EDK II Modules needed by this Platform