PlatformPayloadFeaturePkg.fdf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ## @file
  2. # Payload platform Package
  3. #
  4. # Provides platform specific drivers and definitions to create a platform FV
  5. # to work with universal UEF payload.
  6. #
  7. # Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. ##
  11. [Defines]
  12. DEFINE FD_BASE = 0x00800000
  13. DEFINE FD_BLOCK_SIZE = 0x00001000
  14. !if $(TARGET) == "NOOPT"
  15. DEFINE FD_SIZE = 0x00090000
  16. DEFINE NUM_BLOCKS = 0x90
  17. !else
  18. DEFINE FD_SIZE = 0x00050000
  19. DEFINE NUM_BLOCKS = 0x50
  20. !endif
  21. [FD.PlatformPayload]
  22. BaseAddress = $(FD_BASE) | gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemBase
  23. Size = $(FD_SIZE) | gUefiPayloadPkgTokenSpaceGuid.PcdPayloadFdMemSize
  24. ErasePolarity = 1
  25. BlockSize = $(FD_BLOCK_SIZE)
  26. NumBlocks = $(NUM_BLOCKS)
  27. 0x00000000 | $(FD_SIZE)
  28. FV = PlatformPayload
  29. [FV.PlatformPayload]
  30. !include MinPlatformPkg/Include/Fdf/CommonSpiFvHeaderInfo.fdf
  31. FvNameGuid = 96E75986-6FDD-491E-9FD5-35E21AC45B45
  32. FvForceRebase = FALSE
  33. !include Include/PostMemory.fdf
  34. ################################################################################
  35. #
  36. # Rules are use with the [FV] section's module INF type to define
  37. # how an FFS file is created for a given INF file. The following Rule are the default
  38. # rules for the different module type. User can add the customized rules to define the
  39. # content of the FFS file.
  40. #
  41. ################################################################################
  42. !include MinPlatformPkg/Include/Fdf/RuleInclude.fdf