From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AGs4zMbWSp+Hn1WD/cMb640BywElUvPZfTBQd23Yj5u4gg+Nf3RDzJ4BFhHy9PCq20Ou/CRAn6DKgg== 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 Cc: leif.lindholm@linaro.org, Ard Biesheuvel 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: [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: , X-List-Received-Date: Thu, 30 Nov 2017 16:09:01 -0000 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(-) 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 ( -- 2.11.0