From patchwork Wed Sep 21 08:23:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 76672 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1923366qgf; Wed, 21 Sep 2016 01:24:46 -0700 (PDT) X-Received: by 10.55.200.201 with SMTP id t70mr39048966qkl.238.1474446286333; Wed, 21 Sep 2016 01:24:46 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id t72si27366739qka.248.2016.09.21.01.24.44; Wed, 21 Sep 2016 01:24:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A1377615FF; Wed, 21 Sep 2016 08:24:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 46239615CE; Wed, 21 Sep 2016 08:24:08 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id B8696616DA; Wed, 21 Sep 2016 08:24:03 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by lists.linaro.org (Postfix) with ESMTPS id 89072615CE for ; Wed, 21 Sep 2016 08:23:46 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id l132so77468011wmf.1 for ; Wed, 21 Sep 2016 01:23:46 -0700 (PDT) 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=i521ZA58rquZOl/3SwL6IulKAF8b5uhwZbhWHzxV4Vg=; b=OKHUH0Q/C4aAD/KWbbMUKKJQnRmTqXpposvQWRJVbtHpTDkZItFA1eyUC6YxELI4LA kpe1wn9GtErxo+/eoHZ7SK1RtdrGgo+kJU/KKTh9fTOIkDB35BF7oNHov+wolV+sbbXZ MTfKw19xLTCXhT83T7BekFf8oCW9+gP1O5IuS1MrYDm+U5pB/FXmrGnyj9w9LTK2mdhF D/Fa8xrWlkmX9eVCuh5K3Zi7bBjFKHR5UCSI/z63mHA78ghJ5UtDb7TwKq8pwDJ/kD+0 WxFw6Npvf6K5D5TvOvj3NG+xZD09gLDU+x7O+iIjDI1b/CL3BDs5UoD7RgXDSuoGYnIr /8JA== X-Gm-Message-State: AE9vXwMpAaJO5TCAL5tIn9BPmOJV7KITA3izopXC5eZHre+IyXODbvIsflln0I/6/riC9Rg6V84= X-Received: by 10.28.8.84 with SMTP id 81mr2181699wmi.22.1474446225390; Wed, 21 Sep 2016 01:23:45 -0700 (PDT) Received: from localhost.localdomain ([160.164.113.123]) by smtp.gmail.com with ESMTPSA id vh6sm32329929wjb.0.2016.09.21.01.23.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Sep 2016 01:23:44 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org, leif.lindholm@linaro.org, ryan.harkin@linaro.org, heyi.guo@linaro.org Date: Wed, 21 Sep 2016 09:23:29 +0100 Message-Id: <1474446210-337-5-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1474446210-337-1-git-send-email-ard.biesheuvel@linaro.org> References: <1474446210-337-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [Linaro-uefi] [PATCH 4/5] Platforms/Marvell/Armada: move to MdePkg version of BaseMemoryLib X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Move away from ArmPkg's BaseMemoryLibStm, which is deprecated and about to be removed. For SEC and PEI phases, move to the generic MdePkg version instead, and for later phases, use the accelerated BaseMemoryLibOptDxe implementation. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- Platforms/Marvell/Armada/Armada.dsc.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Platforms/Marvell/Armada/Armada.dsc.inc b/Platforms/Marvell/Armada/Armada.dsc.inc index 47934b2ea950..58c958587fc9 100644 --- a/Platforms/Marvell/Armada/Armada.dsc.inc +++ b/Platforms/Marvell/Armada/Armada.dsc.inc @@ -68,8 +68,7 @@ # Assume everything is fixed at build. do not use runtime PCD feature PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf - # 1/123 faster than Stm or Vstm version - BaseMemoryLib|ArmPkg/Library/BaseMemoryLibStm/BaseMemoryLibStm.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf # ARM Architectural Libraries CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf @@ -135,6 +134,7 @@ ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf ArmCpuLib|ArmPkg/Drivers/ArmCpuLib/ArmCortexAEMv8Lib/ArmCortexAEMv8Lib.inf ArmGenericTimerCounterLib|ArmPkg/Library/ArmGenericTimerPhyCounterLib/ArmGenericTimerPhyCounterLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [LibraryClasses.common.SEC] DebugAgentLib|ArmPkg/Library/DebugAgentSymbolsBaseLib/DebugAgentSymbolsBaseLib.inf @@ -151,6 +151,7 @@ [LibraryClasses.common.SEC, LibraryClasses.common.PEIM] MemoryInitPeiLib|ArmPlatformPkg/MemoryInitPei/MemoryInitPeiLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [LibraryClasses.common.DXE_CORE] HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf