From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AH8x2279IT9qthv5mtYyrzIM1KlzHnYx+x535TySXut5cfAb03lVA+AIyl+zzAEcAJTwvHU+hw97bA== 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 Cc: ard.biesheuvel@linaro.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: [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: , X-List-Received-Date: Tue, 06 Feb 2018 17:16:26 -0000 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(-) 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); -- 2.11.0