From patchwork Thu Feb 12 11:19:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 44614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 520AF2151D for ; Thu, 12 Feb 2015 11:20:46 +0000 (UTC) Received: by lams18 with SMTP id s18sf6078125lam.1 for ; Thu, 12 Feb 2015 03:20:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version :content-type:content-transfer-encoding:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=o7e/qUimg4QO+9OlS2KJ24BB6z8H8ciuzO3hAgh0flc=; b=VcM2uco08RfNyEcxfhGPP2JRCvBjsHiq7hQ1ZJ/zj0pPujQ3EVSxsNwfghoFqcTdKC 5ctPh89+70DPrCUCjJBWM7MnKqzgiq805WFYk2QawwEJJnTPyFgHdnO7fl81V1QMTwCf Bm8f8xLV0d3/BjKh02/rcRV7m9+ora3a8eeZpNQj26x6PXpb7I1jYYSIYU1tqA80URCP HveyqnS0fS4YYntNeqy0yIdDK88vItObuL5caLLnAOQYoCzaEMLSnddkCxTumTyfEyD/ Q2P7HJtqK4ZP6mDdfT5OgNnk3PiWe+G3Uep9AeSwGLp4QQkc8tXf/9A3DA1uXlOu5keA /U9g== X-Gm-Message-State: ALoCoQlqT901D7dzOJnecy0zgh0AqTET1q83/SEhN7L15Ohy6j097yedsQTMJhAKI5QeMMlYgx8w X-Received: by 10.152.87.15 with SMTP id t15mr483610laz.9.1423740045127; Thu, 12 Feb 2015 03:20:45 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.7 with SMTP id f7ls169913lah.84.gmail; Thu, 12 Feb 2015 03:20:44 -0800 (PST) X-Received: by 10.112.67.41 with SMTP id k9mr2800999lbt.35.1423740044915; Thu, 12 Feb 2015 03:20:44 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id o7si477271lag.165.2015.02.12.03.20.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Feb 2015 03:20:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labpn19 with SMTP id pn19so9341038lab.4 for ; Thu, 12 Feb 2015 03:20:44 -0800 (PST) X-Received: by 10.152.21.201 with SMTP id x9mr2780790lae.72.1423740044502; Thu, 12 Feb 2015 03:20:44 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp378418lbj; Thu, 12 Feb 2015 03:20:43 -0800 (PST) X-Received: by 10.50.112.98 with SMTP id ip2mr3040854igb.15.1423740041092; Thu, 12 Feb 2015 03:20:41 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id x5si1076749igw.14.2015.02.12.03.20.40 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 12 Feb 2015 03:20:41 -0800 (PST) Received-SPF: pass (google.com: domain of edk2-devel-bounces@lists.sourceforge.net designates 216.34.181.88 as permitted sender) client-ip=216.34.181.88; Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YLrov-0003hv-HA; Thu, 12 Feb 2015 11:20:33 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YLrou-0003hm-IN for edk2-devel@lists.sourceforge.net; Thu, 12 Feb 2015 11:20:32 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 209.85.192.172 as permitted sender) client-ip=209.85.192.172; envelope-from=ard.biesheuvel@linaro.org; helo=mail-pd0-f172.google.com; Received: from mail-pd0-f172.google.com ([209.85.192.172]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YLrot-0002Ww-Fv for edk2-devel@lists.sourceforge.net; Thu, 12 Feb 2015 11:20:32 +0000 Received: by pdev10 with SMTP id v10so11318465pde.10 for ; Thu, 12 Feb 2015 03:20:25 -0800 (PST) X-Received: by 10.68.201.168 with SMTP id kb8mr5385512pbc.89.1423740025815; Thu, 12 Feb 2015 03:20:25 -0800 (PST) Received: from ards-macbook-pro.local ([210.177.145.249]) by mx.google.com with ESMTPSA id n4sm3554887pdl.12.2015.02.12.03.20.22 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Feb 2015 03:20:25 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, olivier.martin@arm.com, lersek@redhat.com, roy.franz@linaro.org, leif.lindholm@linaro.org, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com, anthony.perard@citrix.com, xen-devel@lists.xen.org, julien.grall@linaro.org, jordan.l.justen@intel.com, michael.d.kinney@intel.com, feng.tian@intel.com Date: Thu, 12 Feb 2015 19:19:03 +0800 Message-Id: <1423739961-5945-12-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1423739961-5945-1-git-send-email-ard.biesheuvel@linaro.org> References: <1423739961-5945-1-git-send-email-ard.biesheuvel@linaro.org> X-Spam-Score: -1.5 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1YLrot-0002Ww-Fv Subject: [edk2] [PATCH v4 11/29] ArmVirtualizationPkg: allow patchable PCD for FV and DT base addresses X-BeenThere: edk2-devel@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list Reply-To: edk2-devel@lists.sourceforge.net List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.sourceforge.net X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ard.biesheuvel@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Allow the use of patchable PCDs for gArmTokenSpaceGuid.PcdFvBaseAddress and gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress by moving them from the [FixedPcd] to the [Pcd] section in the INF file of PlatformPeiLib. Contributed-under: TianoCore Contribution Agreement 1.0 Reviewed-by: Laszlo Ersek Reviewed-by: Olivier Martin Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf b/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf index 6675a1f91561..4fe0cbae3812 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf +++ b/ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformPeiLib/PlatformPeiLib.inf @@ -37,11 +37,13 @@ FdtLib [FixedPcd] - gArmTokenSpaceGuid.PcdFvBaseAddress gArmTokenSpaceGuid.PcdFvSize - gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeAllocationPadding +[Pcd] + gArmTokenSpaceGuid.PcdFvBaseAddress + gArmVirtualizationTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress + [Guids] gEarlyPL011BaseAddressGuid gFdtHobGuid