From patchwork Fri Oct 7 15:14:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 77341 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp331177qge; Fri, 7 Oct 2016 08:15:10 -0700 (PDT) X-Received: by 10.67.1.143 with SMTP id bg15mr30001377pad.99.1475853310833; Fri, 07 Oct 2016 08:15:10 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id 202si9092923pfz.161.2016.10.07.08.15.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Oct 2016 08:15:10 -0700 (PDT) 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; 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 dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 027271A1E28; Fri, 7 Oct 2016 08:15:10 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x236.google.com (mail-wm0-x236.google.com [IPv6:2a00:1450:400c:c09::236]) (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 823291A1E05 for ; Fri, 7 Oct 2016 08:15:08 -0700 (PDT) Received: by mail-wm0-x236.google.com with SMTP id b201so45559319wmb.0 for ; Fri, 07 Oct 2016 08:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=60xY/vQeyYPFXyyj7iCTSkLBxnmj+ShbHPO0YHZC6uo=; b=f8uEShCqPPb2DXhHdXiR+iEKTLvW7oOuZvQNyKxDRdhCCVgf5d9QX46fTmZHsocLwb T1bGAeOUkL4t7WMK02Y1EMmm0wV3ZhQaLfjBxiW14kYVU9dU/1ZWFNlpEKC4WSyCOKoe NDez8lgNiI8FvoRofticZ2bzjBXiCtlgjztpo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=60xY/vQeyYPFXyyj7iCTSkLBxnmj+ShbHPO0YHZC6uo=; b=N6xbrXIjfzQr6q3GB2k6jwQgG9y1Z0BZDa2xazTSK0/BEOJlErow7qOto4PNOxfDfp hhMpdBSe+86cUhLsyl42NzgRjdfFRHe+WFxKmj/W3PvqzxbYkPPtsC5AvovHI6C9ZUZo kS7xTb9cl4rjPxlc0Ecymf0lKhwdL2hSNQmJPNMZIRgeMML9Jq22T0gsV0tBlIQ5MCYo GvXXDEUF6VCSCXx7tIvA8JBLYlyryvDSZckKVR3LR2o8EROrdHSkmrujip6GwB5ETcqm tXKVPiY4nNrj+gmQ2gjxxkJAMHymb8gvep9/qg4pW+B7DE/lDkBveChv8FxtyYI9iSW7 cmUQ== X-Gm-Message-State: AA6/9Rk5kFN+ITQUs2ARHF0UOdleUXe76tgqCRBQpIw/IlNwtQU3yTLzAflKVoVj3+xP+6d1 X-Received: by 10.28.94.18 with SMTP id s18mr21303295wmb.44.1475853306635; Fri, 07 Oct 2016 08:15:06 -0700 (PDT) Received: from localhost.localdomain ([105.147.74.177]) by smtp.gmail.com with ESMTPSA id m75sm3493089wmi.0.2016.10.07.08.15.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Oct 2016 08:15:06 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Fri, 7 Oct 2016 16:14:58 +0100 Message-Id: <1475853298-28327-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [edk2] [PATCH] ArmPlatformPkg/PlatformPeiLib: allow patch PCDs for FV base address/size X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Allow patchable or dynamic PCDs to be used for PcdFvBaseAddress and PcdFvBaseSize, so that platforms whose UEFI image may be loaded anywhere in memory can use PlatformPeiLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf index 314789d0a990..2363d9aa966e 100644 --- a/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf +++ b/ArmPlatformPkg/PlatformPei/PlatformPeiLib.inf @@ -39,15 +39,6 @@ [Ppis] gEfiPeiMasterBootModePpiGuid # PPI ALWAYS_PRODUCED gEfiPeiBootInRecoveryModePpiGuid # PPI SOMETIMES_PRODUCED -[FixedPcd] - gArmTokenSpaceGuid.PcdFdBaseAddress - gArmTokenSpaceGuid.PcdFdSize - +[Pcd] gArmTokenSpaceGuid.PcdFvBaseAddress gArmTokenSpaceGuid.PcdFvSize - - gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize - gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize - -[depex] - TRUE