NorFlashKvmtoolLib.inf 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ## @file
  2. # Nor Flash library for Kvmtool.
  3. #
  4. # Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Defines]
  9. INF_VERSION = 0x0001001B
  10. BASE_NAME = NorFlashKvmtoolLib
  11. FILE_GUID = E75F07A1-B160-4893-BDD4-09E32FF847DC
  12. MODULE_TYPE = DXE_DRIVER
  13. VERSION_STRING = 1.0
  14. LIBRARY_CLASS = VirtNorFlashPlatformLib
  15. CONSTRUCTOR = NorFlashPlatformLibConstructor
  16. [Sources.common]
  17. NorFlashKvmtool.c
  18. [Packages]
  19. ArmPkg/ArmPkg.dec
  20. ArmVirtPkg/ArmVirtPkg.dec
  21. EmbeddedPkg/EmbeddedPkg.dec
  22. MdePkg/MdePkg.dec
  23. MdeModulePkg/MdeModulePkg.dec
  24. OvmfPkg/OvmfPkg.dec
  25. [LibraryClasses]
  26. BaseLib
  27. DebugLib
  28. PcdLib
  29. UefiBootServicesTableLib
  30. [Protocols]
  31. gFdtClientProtocolGuid ## CONSUMES
  32. [Pcd]
  33. gArmTokenSpaceGuid.PcdFvBaseAddress
  34. gArmTokenSpaceGuid.PcdFvSize
  35. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
  36. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
  37. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
  38. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
  39. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
  40. gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
  41. [Depex]
  42. gFdtClientProtocolGuid