From patchwork Thu Nov 30 16:13:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 120219 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp872374qgn; Thu, 30 Nov 2017 08:13:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMaRnphsUChdhjf78V3LR4++5bCgdTbC/3vqKxTCC6NOWV3OdOAmVCCGgT1bN3zsSo912GSu X-Received: by 10.159.216.142 with SMTP id s14mr3095696plp.173.1512058420636; Thu, 30 Nov 2017 08:13:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512058420; cv=none; d=google.com; s=arc-20160816; b=M9+uWOeTKbp5m0X1QcVmJFVDCZbk67RcEbO2Sxzxsi1Qpf5rpFiKa7Hcj2Ptnts1Qb FMO3Hnihb/ooRBGfmhJkX8ImYB0J8CkUngPACYBR2ffhLZIcZBcCmoId4dVm3i00bUYe XbkLl4VPRM0Y7bAGznawK3FtTLfPcxDUxBcm/e5IF7N1CtgvKuup17sEwBEa66iwb2Y9 o3+CxQrACXWsFEXsJeVavfdCKk/F3xUj3yE+mV/+Tm2GW2bQj5f51w9R8nk19dTBAEAd eRxBwkNNLR9A1GIWAjnMObMhlr06BhbqzfWtJaY6pg9rIOQrmtDi8AjBwHEpLL3kKIy3 RXcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=moBbeCXUCbrJBkMoMmoAGvLNaoeY2Xo69VEmjKXEi38=; b=0McAAKw/d8aEt1tpCTZY+zSb5t0dQvsGDz2nE1Gmn9hNF/KjymNANHRfVd0POAFe7X xXYvCRHyCMEDiQscJFAqPB8tDJyRfMEBI0JgjRimMEXhkt1sCWIv53U1ISd3m8K3hgjP Shabp8xtD/xYVpmkUvTtpAqoUXV9WPBZSt5sBjN9d+I8P/DFrp6rOgYe938T6PLkH87d dAbhXrYt06VVGG/u/3wjEgNv+wHqbyM6duk76sE7SUx+fKgkvm50uoQkYWUwwvxiRh9W d2iIt5ij1+vNly9T+3/WjtPl/ueZ9Z7PSX1Vu/czws8ktyM+y9Xn2TrdthJmffqHVZBq w5fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ALsG6Njt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id m23si3212531pgc.174.2017.11.30.08.13.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 08:13:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ALsG6Njt; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 68344220F3C23; Thu, 30 Nov 2017 08:09:02 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c0c::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 5641E220C1C3C for ; Thu, 30 Nov 2017 08:09:01 -0800 (PST) Received: by mail-wr0-x241.google.com with SMTP id g53so7171027wra.2 for ; Thu, 30 Nov 2017 08:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tt8pypgHc7VnIQHr1r+igle8wQLQYL761/DZQFprTgY=; b=ALsG6NjtY9wtUe2RMypH+db55chESZ3L55AYqoXZ9EyEJ2pIPv/lVddAxw9Cdftn27 0D3Htbk64McY1Khi/MoS+L5VxOy0QOWQa4aamqeXqfecoKD0Aw/vYsjJ2A2ddYyRhwuE r0PvJH/XHSlqLN1THcaJrNyL10/AbpF1U4E+0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tt8pypgHc7VnIQHr1r+igle8wQLQYL761/DZQFprTgY=; b=aXGe/vi7Pz1HY+45ySp7iHTjQBdWagWtM2Pd2zQXghAiOpfUABgMmfzCjhLChYtLMc ayCRe7tNFKvAPcHsDI4qE28mHeXwg4FBDSMwNVVZ+mZpndOwbGdKS1HQZh0+F29OL7vP NFZcZVfotDA29QmhOiLf1hxoojIYr9Kzxk6jqA57qCNK1vT6DHBSxKXrFLqxyNT3jSSQ FUWhHHv2iLUzKcqH9kmJz2wCGtG0P9kr3b12Scb149fbYNQVqFYeJuVCRxoxm8fwS1vM gZqZueUkljcL5+NwWAE3vP9YeuVF7IkkUDKdfY8OkmER+tBLgTNyEAhK6hsPRpvxiw02 OD/w== X-Gm-Message-State: AJaThX5fviSY+LPsyUIglvn1pbeFBRKwXHLP8QOTLEo6crvDlqvkovIf DVYc4yfZbJUoLbFwyStqucdeip/rYLo= X-Received: by 10.223.199.70 with SMTP id b6mr2425039wrh.25.1512058405032; Thu, 30 Nov 2017 08:13:25 -0800 (PST) Received: from localhost.localdomain ([105.150.171.234]) by smtp.gmail.com with ESMTPSA id n32sm7288578wrb.62.2017.11.30.08.13.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Nov 2017 08:13:20 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 30 Nov 2017 16:13:06 +0000 Message-Id: <20171130161306.1454-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 Subject: [edk2] [PATCH edk2-platforms] Platform Silicon: remove ArmPlatformInitializeSystemMemory () functions X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 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" The function ArmPlatformInitializeSystemMemory () has been removed from ArmPlatformLib, so remove all the [empty] implementations provided by the various platforms. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c | 13 ------------- Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c | 13 ------------- Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.c | 14 -------------- Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c | 15 --------------- Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c | 14 -------------- Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c | 13 ------------- 6 files changed, 82 deletions(-) -- 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Leif Lindholm diff --git a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c b/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c index 5ec72ff7ed8b..cbc5ed595571 100644 --- a/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c +++ b/Platform/ARM/JunoPkg/Library/ArmJunoLib/ArmJuno.c @@ -146,19 +146,6 @@ ArmPlatformInitialize ( return Status; } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ -} - EFI_STATUS PrePeiCoreGetMpCoreInfo ( OUT UINTN *CoreCount, diff --git a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c index f4a47b28493a..6bf0d39bd4e2 100644 --- a/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c +++ b/Platform/Hisilicon/HiKey/Library/HiKeyLib/HiKey.c @@ -111,19 +111,6 @@ ArmPlatformInitialize ( return RETURN_SUCCESS; } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ -} - EFI_STATUS PrePeiCoreGetMpCoreInfo ( OUT UINTN *CoreCount, diff --git a/Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.c b/Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.c index 968d28f813f6..b2b415571c74 100644 --- a/Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.c +++ b/Platform/Marvell/Armada/Library/Armada70x0Lib/Armada70x0Lib.c @@ -89,20 +89,6 @@ ArmPlatformInitialize ( return RETURN_SUCCESS; } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ - //TODO: Initialize DRAM controller here -} - EFI_STATUS PrePeiCoreGetMpCoreInfo ( OUT UINTN *CoreCount, diff --git a/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c b/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c index facfd61ca230..dc59d4f08f5a 100644 --- a/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c +++ b/Silicon/AMD/Styx/Library/AmdStyxLib/Styx.c @@ -84,21 +84,6 @@ ArmPlatformInitialize ( } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ - // Nothing to do here -} - - // // Return list of cores in the system // diff --git a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c index b59b9f027573..4962543f5531 100644 --- a/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c +++ b/Silicon/Hisilicon/Library/ArmPlatformLibHisilicon/ArmPlatformLib.c @@ -56,20 +56,6 @@ ArmPlatformInitialize ( return RETURN_SUCCESS; } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ - // Nothing to do here -} - EFI_STATUS PrePeiCoreGetMpCoreInfo ( OUT UINTN *CoreCount, diff --git a/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c b/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c index 4da0200279cd..6d4be4badb80 100644 --- a/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c +++ b/Silicon/Socionext/SynQuacer/Library/SynQuacerLib/SynQuacer.c @@ -76,19 +76,6 @@ ArmPlatformInitialize ( return RETURN_SUCCESS; } -/** - Initialize the system (or sometimes called permanent) memory - - This memory is generally represented by the DRAM. - -**/ -VOID -ArmPlatformInitializeSystemMemory ( - VOID - ) -{ -} - STATIC EFI_STATUS PrePeiCoreGetMpCoreInfo (