From patchwork Tue Feb 3 19:19:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 44290 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6734D2034D for ; Tue, 3 Feb 2015 19:21:32 +0000 (UTC) Received: by mail-la0-f69.google.com with SMTP id gm9sf22226587lab.0 for ; Tue, 03 Feb 2015 11:21:31 -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=+q6eREUovAWPh/xVzZaSHA7+wB8kW///fXZLNLhwFSE=; b=EuZngW7KlEfnfOW4tGf6Clujdbgv9DDMG5id+h2XT1E+EeHhqSeaQyST2bg60WzuV0 lDUk0yaXcxPns0HPigzsBHc6seigGzeP0FtjnhltC4U9UTzZCT7h0I9lZG0sBFUn+UlT ldwgrwIFG1UwNOMEijYdBXvUhozIFEABtC185coPyFaa5wTwgzE4MfA7WcOp4f6ELiSY vkgzg5UJVB88x2iI9dxNfREzlIVT5LEvJFGfzPh+JrYAuF/K3aSOEHAm1GJ0ECGZr8u7 98sUTvRxX56CxmxLdpDeayjMvcKj4QGsramx6bmDHZp0mEBxSSr9a2naHK8lxTDFpZWg 3uqA== X-Gm-Message-State: ALoCoQmlHNkKyT6W7l3M+ereqco0ku6p16JA1w2yeGLSseBYbuJch/nUjYYGqP02e0BDDqCLaGY8 X-Received: by 10.112.140.65 with SMTP id re1mr3431795lbb.4.1422991291354; Tue, 03 Feb 2015 11:21:31 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.37.42 with SMTP id v10ls185579laj.56.gmail; Tue, 03 Feb 2015 11:21:31 -0800 (PST) X-Received: by 10.112.170.100 with SMTP id al4mr6099393lbc.42.1422991291214; Tue, 03 Feb 2015 11:21:31 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id tz3si20109131lbb.66.2015.02.03.11.21.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Feb 2015 11:21:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id ge10so54208290lab.11 for ; Tue, 03 Feb 2015 11:21:31 -0800 (PST) X-Received: by 10.152.20.169 with SMTP id o9mr26984945lae.50.1422991291131; Tue, 03 Feb 2015 11:21:31 -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 h5csp33993lbj; Tue, 3 Feb 2015 11:21:30 -0800 (PST) X-Received: by 10.43.154.138 with SMTP id le10mr25378120icc.50.1422991289757; Tue, 03 Feb 2015 11:21:29 -0800 (PST) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id mk2si10436948igb.10.2015.02.03.11.21.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 03 Feb 2015 11:21:29 -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-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YIj2I-0000Bk-53; Tue, 03 Feb 2015 19:21:22 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YIj2G-0000BT-M7 for edk2-devel@lists.sourceforge.net; Tue, 03 Feb 2015 19:21:20 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.52 as permitted sender) client-ip=74.125.82.52; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f52.google.com; Received: from mail-wg0-f52.google.com ([74.125.82.52]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YIj2F-0007gX-Og for edk2-devel@lists.sourceforge.net; Tue, 03 Feb 2015 19:21:20 +0000 Received: by mail-wg0-f52.google.com with SMTP id y19so46390438wgg.11 for ; Tue, 03 Feb 2015 11:21:13 -0800 (PST) X-Received: by 10.181.29.201 with SMTP id jy9mr37514830wid.17.1422991273752; Tue, 03 Feb 2015 11:21:13 -0800 (PST) Received: from ards-macbook-pro.local (73.233.28.37.rev.vodafone.pt. [37.28.233.73]) by mx.google.com with ESMTPSA id eb7sm25860139wic.11.2015.02.03.11.21.10 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 03 Feb 2015 11:21:12 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.sourceforge.net, lersek@redhat.com, olivier.martin@arm.com, roy.franz@linaro.org, leif.lindholm@linaro.org, stefano.stabellini@eu.citrix.com, ian.campbell@citrix.com, anthony.perard@citrix.com, christoffer.dall@linaro.org, xen-devel@lists.xen.org, ilias.biris@linaro.org, julien.grall@linaro.org Date: Tue, 3 Feb 2015 19:19:56 +0000 Message-Id: <1422991212-9257-12-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1422991212-9257-1-git-send-email-ard.biesheuvel@linaro.org> References: <1422991212-9257-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 -0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1YIj2F-0007gX-Og Subject: [edk2] [PATCH v3 11/27] 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.52 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 Signed-off-by: Ard Biesheuvel --- .../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