]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelSiliconPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.c
Remove IntelSiliconPkg that has been moved to edk2-platform repo
[mirror_edk2.git] / IntelSiliconPkg / Feature / Capsule / Library / MicrocodeFlashAccessLibNull / MicrocodeFlashAccessLibNull.c
diff --git a/IntelSiliconPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.c b/IntelSiliconPkg/Feature/Capsule/Library/MicrocodeFlashAccessLibNull/MicrocodeFlashAccessLibNull.c
deleted file mode 100644 (file)
index 9fc10c3..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/** @file\r
-  Microcode flash device access library NULL instance.\r
-\r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include <PiDxe.h>\r
-\r
-#include <Library/BaseMemoryLib.h>\r
-#include <Library/MicrocodeFlashAccessLib.h>\r
-\r
-/**\r
-  Perform microcode write opreation.\r
-\r
-  @param[in] FlashAddress      The address of flash device to be accessed.\r
-  @param[in] Buffer            The pointer to the data buffer.\r
-  @param[in] Length            The length of data buffer in bytes.\r
-\r
-  @retval EFI_SUCCESS           The operation returns successfully.\r
-  @retval EFI_WRITE_PROTECTED   The flash device is read only.\r
-  @retval EFI_UNSUPPORTED       The flash device access is unsupported.\r
-  @retval EFI_INVALID_PARAMETER The input parameter is not valid.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-MicrocodeFlashWrite (\r
-  IN EFI_PHYSICAL_ADDRESS         FlashAddress,\r
-  IN VOID                         *Buffer,\r
-  IN UINTN                        Length\r
-  )\r
-{\r
-  CopyMem((VOID *)(UINTN)(FlashAddress), Buffer, Length);\r
-  return EFI_SUCCESS;\r
-}\r