From patchwork Tue Feb 6 17:21:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leif Lindholm X-Patchwork-Id: 127071 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3116210ljc; Tue, 6 Feb 2018 09:22:13 -0800 (PST) X-Google-Smtp-Source: AH8x224OrZddLWDmnPKWV4YlVjS50C7DWG1p+kC5+NemEjtwQeaFkMH/kyrvnxm8Q6gIpNJ+SqVh X-Received: by 10.99.115.24 with SMTP id o24mr2530457pgc.218.1517937733044; Tue, 06 Feb 2018 09:22:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517937733; cv=none; d=google.com; s=arc-20160816; b=rwYSk48lPizROBJe0Pe1qjuDQpTFsiTYFUbTAjaLbBm+KEGG/dlsqkDnz/S6zF73Dq V4I7KT289VpqYnQIKYfuaX2HdRRZHClLmwzwOqYtwBy3BSzt/V5RWM8if1NiD4zj0OTb c5j04OMvMo0yvwGw8fNJ3NH5cg1/m9ibcxU6mT7zpf5NcYRGTzAEsZJaYSJaNLQB2Eta jarxKN0abRZllefX/BRFcCUQzNs9HME5FENrHqHqHcp2X54C4IjFhrJ1pT9bh3FBd7pb t2Vu/8LdNGFrIckuq5dzhtWqM6AZIRHrawsONt+gtUJLHSR8U0A7lKpke/nxceoeOuUr gvtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=fMSNRpPvZwpY2kEOB7VJMp2Gt/iDSfFet+C59xG6qcg=; b=OmBN9BNqeJkF0HYQlu0PoI1M3YdgLGYOo9EPnT27/C+AGZIJugCykJ9m4wak5DJNci nlVVAbLmpRDMu8qrc3glBpqmNg15RbBfYJ+fT9DtHIUgUmCj2x/3W7syYeUYPbwtJoJL fszLEJVs7FIBmeoG4E9F3Lett60Jeua8fGkAjnrT7WKRZ6AHzkQSPR946RffUcS0O7f2 wKzIGnch2b5r0XvODbu3vHXL3jpfI/HDPa9eTSo1Iq6FwhiUR7AHBzPjI+byKj/M31K1 cgsjV3OMMfoI8s9ZNAwDuWO3Sm6sg7RAORUPWkex11e5vdTB9llhyDHh2xTJ5QD0VH58 a8Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A5woA8sh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id x10si3548190pgv.268.2018.02.06.09.22.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 09:22:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=A5woA8sh; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 5FF2921F0DA4B; Tue, 6 Feb 2018 09:16:27 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::244; helo=mail-wr0-x244.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x244.google.com (mail-wr0-x244.google.com [IPv6:2a00:1450:400c:c0c::244]) (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 EFBD221F0DA41 for ; Tue, 6 Feb 2018 09:16:25 -0800 (PST) Received: by mail-wr0-x244.google.com with SMTP id i56so2763857wra.7 for ; Tue, 06 Feb 2018 09:22:08 -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:in-reply-to:references; bh=YgVgYh8PFSrnoYeO235W9pvXpCwkM9T50mWML/KKBaI=; b=A5woA8shIh+nWJCNLV1RrOYQxsKq3o9EMM1XaN5tJqjlSEi7my1yb22ae5puNcqv38 Fg5YYFHtRnlGJHsIuZoCxMspiTcVZO/BIIjRNY3HTVLLNKTgm2Wf0wxwwNRhVAnamFAH f/XcFTj8re7LNc3+w+PMJHv6SSdnKUxrQjaKY= 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=YgVgYh8PFSrnoYeO235W9pvXpCwkM9T50mWML/KKBaI=; b=D3HCf1jXSJ76tmvv0jPbR9Fdw3TSfS/IQhzRuuJnJxo5lLVug5rYII01FPxylRiLzd oyacnI/Uaf1aDt4c8J6SvhY1WFlW9jmbQMKAUbtU/PAZnN5y1SsQ7qknG7UUiCj5+4/R xdIqHkG2gPvjWW5HDE1Ng5xK49C+wM+HfvZ4ARp7Etv0CoLeaoMWL9UQzctxGkESpIyt SGZFfK2g5LcZKy8iAXKoS4J55AukStaHNTPyDTRllVLEM+/TJ7K4FaFtcJ6KryNAtNVX B5UF9etKTs6GGK0nRXffbOYHQ7IJaoKAffZdM9ufDAMoehELTBlgt90risPHfPuxfFHa SHMA== X-Gm-Message-State: APf1xPB1We5K2AYq3OnAp/4DOioyL1QaWRtJZM7IRFvXP+8T7DOAiRly YLVVBaUHQL1T+zxg3fP0dp+Uf6xDbOM= X-Received: by 10.223.160.27 with SMTP id k27mr2946032wrk.5.1517937727362; Tue, 06 Feb 2018 09:22:07 -0800 (PST) Received: from vanye.hemma.eciton.net (cpc92316-cmbg19-2-0-cust118.5-4.cable.virginm.net. [82.12.0.119]) by smtp.gmail.com with ESMTPSA id 77sm14854664wmt.37.2018.02.06.09.22.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Feb 2018 09:22:06 -0800 (PST) From: Leif Lindholm To: edk2-devel@lists.01.org Date: Tue, 6 Feb 2018 17:21:58 +0000 Message-Id: <20180206172202.11667-3-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180206172202.11667-1-leif.lindholm@linaro.org> References: <20180206172202.11667-1-leif.lindholm@linaro.org> Subject: [edk2] [PATCH 2/6] BeagleBoardPkg: drop unused EmbeddedPkg Pcds X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ard.biesheuvel@linaro.org MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Drop a bunch of unused EmbeddedPkg Pcds, including one used in local code. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Leif Lindholm --- BeagleBoardPkg/BeagleBoardPkg.dsc | 18 ------------------ BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c | 6 +----- 2 files changed, 1 insertion(+), 23 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/BeagleBoardPkg/BeagleBoardPkg.dsc b/BeagleBoardPkg/BeagleBoardPkg.dsc index 039c4ad62d..348624a038 100644 --- a/BeagleBoardPkg/BeagleBoardPkg.dsc +++ b/BeagleBoardPkg/BeagleBoardPkg.dsc @@ -235,20 +235,6 @@ [PcdsFeatureFlag.common] gEfiMdePkgTokenSpaceGuid.PcdComponentName2Disable|TRUE gEfiMdePkgTokenSpaceGuid.PcdDriverDiagnostics2Disable|TRUE - # - # Control what commands are supported from the UI - # Turn these on and off to add features or save size - # - gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|TRUE - gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE - gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE - gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE - gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|TRUE - gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE - gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE - - gEmbeddedTokenSpaceGuid.PcdCacheEnable|TRUE - # Use the Vector Table location in CpuDxe. We will not copy the Vector Table at PcdCpuVectorBaseAddress gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE @@ -309,10 +295,6 @@ [PcdsFixedAtBuild.common] gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 - gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|"" - gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07 - gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000 - # # Optional feature to help prevent EFI memory map fragments # Turned on and off via: PcdPrePiProduceMemoryTypeInformationHob diff --git a/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c b/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c index b77b069930..3a81ef54a2 100644 --- a/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c +++ b/BeagleBoardPkg/Library/BeagleBoardLib/BeagleBoardMem.c @@ -48,11 +48,7 @@ ArmPlatformGetVirtualMemoryMap ( return; } - if (FeaturePcdGet(PcdCacheEnable) == TRUE) { - CacheAttributes = DDR_ATTRIBUTES_CACHED; - } else { - CacheAttributes = DDR_ATTRIBUTES_UNCACHED; - } + CacheAttributes = DDR_ATTRIBUTES_CACHED; // ReMap (Either NOR Flash or DRAM) VirtualMemoryTable[Index].PhysicalBase = PcdGet64 (PcdSystemMemoryBase);