diff mbox

[edk2,3/4] ArmPlatformPkg/NorFlashAuthenticatedDxe: remove this obsolete module

Message ID 1466505034-10267-4-git-send-email-ard.biesheuvel@linaro.org
State Accepted
Commit 3460c75dfe951c50d1d16eb2bb54b4790d49a91d
Headers show

Commit Message

Ard Biesheuvel June 21, 2016, 10:30 a.m. UTC
This module is now identical in functionality to NorFlashDxe, and is no
longer used, so remove it altogether.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf | 77 --------------------
 1 file changed, 77 deletions(-)

-- 
2.7.4

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Laszlo Ersek June 21, 2016, 2:06 p.m. UTC | #1
On 06/21/16 12:30, Ard Biesheuvel wrote:
> This module is now identical in functionality to NorFlashDxe, and is no

> longer used, so remove it altogether.

> 

> Contributed-under: TianoCore Contribution Agreement 1.0

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

> ---

>  ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf | 77 --------------------

>  1 file changed, 77 deletions(-)

> 

> diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf

> deleted file mode 100644

> index 0e25b8f6ed6d..000000000000

> --- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf

> +++ /dev/null

> @@ -1,77 +0,0 @@

> -#/** @file

> -#

> -#  Component description file for NorFlashAuthenticatedDxe module

> -#

> -#  Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>

> -#  Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>

> -#  Copyright (c) 2015, Intel Corporation. All rights reserved.

> -#

> -#  This program and the accompanying materials

> -#  are licensed and made available under the terms and conditions of the BSD License

> -#  which accompanies this distribution.  The full text of the license may be found at

> -#  http://opensource.org/licenses/bsd-license.php

> -#

> -#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

> -#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

> -#

> -#**/

> -

> -[Defines]

> -  INF_VERSION                    = 0x00010005

> -  BASE_NAME                      = NorFlashAuthenticatedDxe

> -  FILE_GUID                      = 10B86CEA-F2FE-456A-B1C7-4F506CA46005

> -  MODULE_TYPE                    = DXE_RUNTIME_DRIVER

> -  VERSION_STRING                 = 1.0

> -  ENTRY_POINT                    = NorFlashInitialise

> -

> -[Sources.common]

> -  NorFlashDxe.c

> -  NorFlashFvbDxe.c

> -  NorFlashBlockIoDxe.c

> -

> -[Packages]

> -  MdePkg/MdePkg.dec

> -  MdeModulePkg/MdeModulePkg.dec

> -  ArmPlatformPkg/ArmPlatformPkg.dec

> -  SecurityPkg/SecurityPkg.dec

> -

> -[LibraryClasses]

> -  IoLib

> -  BaseLib

> -  DebugLib

> -  HobLib

> -  NorFlashPlatformLib

> -  UefiLib

> -  UefiDriverEntryPoint

> -  UefiBootServicesTableLib

> -  UefiRuntimeLib

> -  DxeServicesTableLib

> -

> -[Guids]

> -  gEfiSystemNvDataFvGuid

> -  gEfiVariableGuid

> -  gEfiAuthenticatedVariableGuid

> -  gEfiEventVirtualAddressChangeGuid

> -

> -[Protocols]

> -  gEfiBlockIoProtocolGuid

> -  gEfiDevicePathProtocolGuid

> -  gEfiFirmwareVolumeBlockProtocolGuid

> -  gEfiDiskIoProtocolGuid

> -

> -[Pcd.common]

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase

> -  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize

> -

> -  gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked

> -

> -[Depex]

> -  #

> -  # NorFlashAuthenticatedDxe must be loaded before VariableRuntimeDxe

> -  # in case empty flash needs populating with default values

> -  #

> -  BEFORE gVariableRuntimeDxeFileGuid

> 


Reviewed-by: Laszlo Ersek <lersek@redhat.com>

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
diff mbox

Patch

diff --git a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf b/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf
deleted file mode 100644
index 0e25b8f6ed6d..000000000000
--- a/ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashAuthenticatedDxe.inf
+++ /dev/null
@@ -1,77 +0,0 @@ 
-#/** @file
-#
-#  Component description file for NorFlashAuthenticatedDxe module
-#
-#  Copyright (c) 2011 - 2014, ARM Ltd. All rights reserved.<BR>
-#  Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
-#  Copyright (c) 2015, Intel Corporation. All rights reserved.
-#
-#  This program and the accompanying materials
-#  are licensed and made available under the terms and conditions of the BSD License
-#  which accompanies this distribution.  The full text of the license may be found at
-#  http://opensource.org/licenses/bsd-license.php
-#
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-#
-#**/
-
-[Defines]
-  INF_VERSION                    = 0x00010005
-  BASE_NAME                      = NorFlashAuthenticatedDxe
-  FILE_GUID                      = 10B86CEA-F2FE-456A-B1C7-4F506CA46005
-  MODULE_TYPE                    = DXE_RUNTIME_DRIVER
-  VERSION_STRING                 = 1.0
-  ENTRY_POINT                    = NorFlashInitialise
-
-[Sources.common]
-  NorFlashDxe.c
-  NorFlashFvbDxe.c
-  NorFlashBlockIoDxe.c
-
-[Packages]
-  MdePkg/MdePkg.dec
-  MdeModulePkg/MdeModulePkg.dec
-  ArmPlatformPkg/ArmPlatformPkg.dec
-  SecurityPkg/SecurityPkg.dec
-
-[LibraryClasses]
-  IoLib
-  BaseLib
-  DebugLib
-  HobLib
-  NorFlashPlatformLib
-  UefiLib
-  UefiDriverEntryPoint
-  UefiBootServicesTableLib
-  UefiRuntimeLib
-  DxeServicesTableLib
-
-[Guids]
-  gEfiSystemNvDataFvGuid
-  gEfiVariableGuid
-  gEfiAuthenticatedVariableGuid
-  gEfiEventVirtualAddressChangeGuid
-
-[Protocols]
-  gEfiBlockIoProtocolGuid
-  gEfiDevicePathProtocolGuid
-  gEfiFirmwareVolumeBlockProtocolGuid
-  gEfiDiskIoProtocolGuid
-
-[Pcd.common]
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
-  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
-
-  gArmPlatformTokenSpaceGuid.PcdNorFlashCheckBlockLocked
-
-[Depex]
-  #
-  # NorFlashAuthenticatedDxe must be loaded before VariableRuntimeDxe
-  # in case empty flash needs populating with default values
-  #
-  BEFORE gVariableRuntimeDxeFileGuid