From patchwork Mon May 4 06:04:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 47987 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 407ED20553 for ; Mon, 4 May 2015 06:05:07 +0000 (UTC) Received: by laat2 with SMTP id t2sf43039762laa.2 for ; Sun, 03 May 2015 23:05:06 -0700 (PDT) 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=BrSkWGYgUNHdeFkqdG2o2kFhO9i7Wn8iGwAyp5JIVC8=; b=gMwPk8AQuL3tiYGqNenj8NkWbB/iAjdnKjFx9xAw98X2R1tgWW5h1jHRHijOcjQgcq rcrkE/aGPK2NW5iAbfbrMZXUi9ouwha3TuJsLLGwuIcnfKSI/pKEcotjQ7ivcDrJxC4W /YNGOcNoE+imNr0XE5pZKSBBQ89ITUYLtKMY4sdD5s2x2GdKgb1bNeZ7kawMA6m6yBan Mmt2aeTF8cXar6GS2QSJHnMKXAx5Wv6CJ/xGoK9vhH2mn/wWm626Ib8mkB0IRJ6rv6zF Vx/BrtCOWgXeWP+Z4sld3ZrTXPh/y5GQCcDIkppcDd7BW/6Vj8mHmu4uJN7fvY/Y9NMZ zRNw== X-Gm-Message-State: ALoCoQm0OnwjdszklbDI7LGRgpoiq4xqQioXBlhucncbRmnbyHnzEw1NP9iBEN9imn+2swzOSZ2H X-Received: by 10.180.88.226 with SMTP id bj2mr7364867wib.7.1430719506157; Sun, 03 May 2015 23:05:06 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.19.162 with SMTP id g2ls721483lae.80.gmail; Sun, 03 May 2015 23:05:05 -0700 (PDT) X-Received: by 10.152.42.242 with SMTP id r18mr18250401lal.8.1430719505887; Sun, 03 May 2015 23:05:05 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id q3si9377776laj.148.2015.05.03.23.05.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 May 2015 23:05:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbzk7 with SMTP id zk7so98035801lbb.0 for ; Sun, 03 May 2015 23:05:05 -0700 (PDT) X-Received: by 10.112.219.70 with SMTP id pm6mr17873028lbc.41.1430719505747; Sun, 03 May 2015 23:05:05 -0700 (PDT) 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.67.65 with SMTP id l1csp1482015lbt; Sun, 3 May 2015 23:05:04 -0700 (PDT) X-Received: by 10.50.61.200 with SMTP id s8mr11221327igr.7.1430719504136; Sun, 03 May 2015 23:05:04 -0700 (PDT) Received: from lists.sourceforge.net (lists.sourceforge.net. [216.34.181.88]) by mx.google.com with ESMTPS id d133si9662217ioe.17.2015.05.03.23.05.03 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 03 May 2015 23:05:04 -0700 (PDT) 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 1Yp9Ut-0006fx-GS; Mon, 04 May 2015 06:04:55 +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 1Yp9Us-0006fq-6t for edk2-devel@lists.sourceforge.net; Mon, 04 May 2015 06:04:54 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of linaro.org designates 74.125.82.46 as permitted sender) client-ip=74.125.82.46; envelope-from=ard.biesheuvel@linaro.org; helo=mail-wg0-f46.google.com; Received: from mail-wg0-f46.google.com ([74.125.82.46]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Yp9Ur-0004ZD-DY for edk2-devel@lists.sourceforge.net; Mon, 04 May 2015 06:04:54 +0000 Received: by wgen6 with SMTP id n6so139587361wge.3 for ; Sun, 03 May 2015 23:04:47 -0700 (PDT) X-Received: by 10.180.82.135 with SMTP id i7mr17097215wiy.68.1430719487352; Sun, 03 May 2015 23:04:47 -0700 (PDT) Received: from localhost.localdomain (cag06-7-83-153-85-71.fbx.proxad.net. [83.153.85.71]) by mx.google.com with ESMTPSA id mv11sm9494381wic.23.2015.05.03.23.04.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 03 May 2015 23:04:46 -0700 (PDT) From: Ard Biesheuvel To: olivier.martin@arm.com, lersek@redhat.com, edk2-devel@lists.sourceforge.net Date: Mon, 4 May 2015 08:04:30 +0200 Message-Id: <1430719471-16998-3-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430719471-16998-1-git-send-email-ard.biesheuvel@linaro.org> References: <1430719471-16998-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: 1Yp9Ur-0004ZD-DY Subject: [edk2] [PATCH v4 2/3] ArmVExpressPkg: avoid the use of ArmVExpressSysConfigLib at runtime 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.217.182 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 The ArmVExpressSysConfigLib library does not (and cannot) runtime remap its MMIO registers, so use a NULL implementation of the ArmPlatformSysConfigLib library class for DXE_RUNTIME_DRIVER type modules. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 7a8bb8ecd0dd..1d56576c47f0 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -214,6 +214,7 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf + ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf # # PSCI support in EL3 may not be available if we are not running under a PSCI