From nobody Mon Dec 23 14:06:03 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1517937733499829.3969355411364; Tue, 6 Feb 2018 09:22:13 -0800 (PST) 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) 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) 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) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.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 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) 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 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" 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/BeagleBoard= Pkg.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 =20 - # - # 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 T= able at PcdCpuVectorBaseAddress gArmTokenSpaceGuid.PcdRelocateVectorTable|FALSE =20 @@ -309,10 +295,6 @@ [PcdsFixedAtBuild.common] =20 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07 =20 - 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/Beagl= eBoardPkg/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; } =20 - if (FeaturePcdGet(PcdCacheEnable) =3D=3D TRUE) { - CacheAttributes =3D DDR_ATTRIBUTES_CACHED; - } else { - CacheAttributes =3D DDR_ATTRIBUTES_UNCACHED; - } + CacheAttributes =3D DDR_ATTRIBUTES_CACHED; =20 // ReMap (Either NOR Flash or DRAM) VirtualMemoryTable[Index].PhysicalBase =3D PcdGet64 (PcdSystemMemoryBase= ); --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel