From patchwork Wed Apr 13 15:07:31 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 65738 Delivered-To: patch@linaro.org Received: by 10.140.93.198 with SMTP id d64csp64368qge; Wed, 13 Apr 2016 08:07:53 -0700 (PDT) X-Received: by 10.66.27.208 with SMTP id v16mr13752535pag.35.1460560073581; Wed, 13 Apr 2016 08:07:53 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id m21si1736904pfi.150.2016.04.13.08.07.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 08:07:53 -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 D9DC21A2170; Wed, 13 Apr 2016 08:07:52 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 ABA8D1A2127 for ; Wed, 13 Apr 2016 08:07:50 -0700 (PDT) Received: by mail-wm0-x22b.google.com with SMTP id l6so212721957wml.1 for ; Wed, 13 Apr 2016 08:07:50 -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:in-reply-to:references; bh=GPB2OOQqoTNLCEUkS7UAid/l4f0mB5hdl7XW6SOHgCM=; b=GIfkQCwZIe2056f3FJYX2oFwJkvbssPDQovD6vK5NlB/9btLcElKDrQJKfr+bgP/hk qm38PeCeWdtf8ooKAJwrrc8adNVWFG+xmjT73mQ3saPJr/tHLSUm5JG6BSerql0trKql /qBY648kOeA1cS5TgcSVHYCMAeqNFhNDKLFi8= 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:in-reply-to :references; bh=GPB2OOQqoTNLCEUkS7UAid/l4f0mB5hdl7XW6SOHgCM=; b=NUXKLIvoDuk5XP0KqJk4zjCrhEukjLzY9wCJQcY34lssDkIg7+chtoWl8RGJd0wiJo a2AlUDctpf62oD3UjRubDAaBSQ2zcgrF/rAmaASiiJVYXFNkqUvk7Xo2xsQ6kBp4qOkg aKL9I8QFx1Ch4FmDen6ZElL7WmuC85E2HJJ+9VaplABtGjYamHwDZCLy9PeYndYVm7SF gXpU4WUJ1pf2mZFIh5eVM7H/tOZ8nvl2tbP53I8LFsrK8SzXYbtmCk+s5ALoEvy0+rjt J214ZYAZMJOSZsbZ3O0Vg5XohR4GY4dkz70pQXdDhvNSgNAu9qysxH7xxuLvVs1vIMCi oNsw== X-Gm-Message-State: AOPr4FUNRzmPyvel9mg5Sg5EgcK8EO7uTHDOPd1odJ+q5PDewdG8SCrW/d+fHd9P3YV0uNql X-Received: by 10.28.48.147 with SMTP id w141mr10555714wmw.85.1460560069275; Wed, 13 Apr 2016 08:07:49 -0700 (PDT) Received: from localhost.localdomain ([195.55.142.58]) by smtp.gmail.com with ESMTPSA id a73sm1747684wme.2.2016.04.13.08.07.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Apr 2016 08:07:48 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, lersek@redhat.com Date: Wed, 13 Apr 2016 17:07:31 +0200 Message-Id: <1460560051-25820-1-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1460557933-23346-3-git-send-email-ard.biesheuvel@linaro.org> References: <1460557933-23346-3-git-send-email-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH v4a] ArmVirtPkg: move QEMU based platforms to ArmVirtPL031FdtClientLib X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ard Biesheuvel MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" This moves QEMU based platforms to ArmVirtPL031FdtClientLib, so that we no longer have to rely on VirtFdtDxe to execute first and set the PL031 base address in a dynamic PCD. The only driver which [transitively] depends on this PcdPL031RtcBase PCD is EmbeddedPkg/RealTimeClockRuntimeDxe, so this conversion cannot affect any other users and is thus safe. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Laszlo, I did 'fix' it in v4, but poorly ... You may have noticed that I am getting a bit impatient. However, please don't mistake that for lack of respect. I highly value your review feedback, and have no complaints whatsoever about timeliness. I just need a couple more hours in a day ... Thanks, Ard. ArmVirtPkg/ArmVirtQemu.dsc | 5 ++++- ArmVirtPkg/ArmVirtQemuKernel.dsc | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) -- 2.5.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Laszlo Ersek diff --git a/ArmVirtPkg/ArmVirtQemu.dsc b/ArmVirtPkg/ArmVirtQemu.dsc index c42092f54163..70419ff3f856 100644 --- a/ArmVirtPkg/ArmVirtQemu.dsc +++ b/ArmVirtPkg/ArmVirtQemu.dsc @@ -293,7 +293,10 @@ [Components.common] MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf - EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf { + + NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf + } EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf diff --git a/ArmVirtPkg/ArmVirtQemuKernel.dsc b/ArmVirtPkg/ArmVirtQemuKernel.dsc index 2cbeced695f9..01029e38db3b 100644 --- a/ArmVirtPkg/ArmVirtQemuKernel.dsc +++ b/ArmVirtPkg/ArmVirtQemuKernel.dsc @@ -271,7 +271,10 @@ [Components.common] MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf - EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf + EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf { + + NULL|ArmVirtPkg/Library/ArmVirtPL031FdtClientLib/ArmVirtPL031FdtClientLib.inf + } EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf