summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/Library
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2022-10-24 18:53:35 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-11-06 15:21:12 +0000
commitcc650a0378f86a4980e7a0d37fef90d46d33afe1 (patch)
treeb684425f1e6546fb9954d23a2e29735a50dd44e6 /ArmPlatformPkg/Library
parenteff44c008d99eca6e3700e864b014821ba88683c (diff)
downloadedk2-cc650a0378f86a4980e7a0d37fef90d46d33afe1.tar.gz
edk2-cc650a0378f86a4980e7a0d37fef90d46d33afe1.tar.bz2
edk2-cc650a0378f86a4980e7a0d37fef90d46d33afe1.zip
ArmPlatformPkg: Retire NorFlashDxe driver
The NorFlashDxe driver in ArmPlatformPkg was shared between development platforms built by ARM Ltd, and virtual platforms that were once modeled after Versatile Express, but have very little in common with actual bare metal implementations. Both sides have migrated to a domain specific version of the driver, so we can retire the old one. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Diffstat (limited to 'ArmPlatformPkg/Library')
-rw-r--r--ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c28
-rw-r--r--ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf24
2 files changed, 0 insertions, 52 deletions
diff --git a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c
deleted file mode 100644
index 6e11b23fdb..0000000000
--- a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/** @file
-
- Copyright (c) 2014, Linaro Ltd. All rights reserved.<BR>
-
- SPDX-License-Identifier: BSD-2-Clause-Patent
-
- **/
-
-#include <Library/NorFlashPlatformLib.h>
-
-EFI_STATUS
-NorFlashPlatformInitialization (
- VOID
- )
-{
- return EFI_SUCCESS;
-}
-
-EFI_STATUS
-NorFlashPlatformGetDevices (
- OUT NOR_FLASH_DESCRIPTION **NorFlashDescriptions,
- OUT UINT32 *Count
- )
-{
- *NorFlashDescriptions = NULL;
- *Count = 0;
- return EFI_SUCCESS;
-}
diff --git a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf b/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
deleted file mode 100644
index 3a2d5a1715..0000000000
--- a/ArmPlatformPkg/Library/NorFlashPlatformNullLib/NorFlashPlatformNullLib.inf
+++ /dev/null
@@ -1,24 +0,0 @@
-#/** @file
-#
-# Component description file for NorFlashPlatformNullLib module
-#
-# Copyright (c) 2017, Linaro Ltd. All rights reserved.<BR>
-#
-# SPDX-License-Identifier: BSD-2-Clause-Patent
-#
-#**/
-
-[Defines]
- INF_VERSION = 0x00010005
- BASE_NAME = NorFlashPlatformNullLib
- FILE_GUID = 29b733ad-d066-4df6-8a89-b9df1beb818a
- MODULE_TYPE = DXE_DRIVER
- VERSION_STRING = 1.0
- LIBRARY_CLASS = NorFlashPlatformLib
-
-[Sources.common]
- NorFlashPlatformNullLib.c
-
-[Packages]
- MdePkg/MdePkg.dec
- ArmPlatformPkg/ArmPlatformPkg.dec