|
48 | 48 | DEFINE TFA_BUILD_BL31 = $(TFA_BUILD_ARTIFACTS)/bl31.bin |
49 | 49 | !endif |
50 | 50 |
|
| 51 | + # |
| 52 | + # DEBUG_ASSERT_ENABLED 0x01 |
| 53 | + # DEBUG_PRINT_ENABLED 0x02 |
| 54 | + # DEBUG_CODE_ENABLED 0x04 |
| 55 | + # CLEAR_MEMORY_ENABLED 0x08 |
| 56 | + # ASSERT_BREAKPOINT_ENABLED 0x10 |
| 57 | + # ASSERT_DEADLOOP_ENABLED 0x20 |
| 58 | + # |
| 59 | +!if $(TARGET) == RELEASE |
| 60 | + DEFINE DEBUG_PROPERTY_MASK = 0x21 |
| 61 | +!else |
| 62 | + DEFINE DEBUG_PROPERTY_MASK = 0x2f |
| 63 | +!endif |
| 64 | + |
51 | 65 | ################################################################################ |
52 | 66 | # |
53 | 67 | # Library Class section - list of all Library Classes needed by this Platform. |
|
291 | 305 | gEfiMdePkgTokenSpaceGuid.PcdPostCodePropertyMask|0 |
292 | 306 | gEfiMdePkgTokenSpaceGuid.PcdUefiLibMaxPrintBufferSize|320 |
293 | 307 |
|
294 | | - # DEBUG_ASSERT_ENABLED 0x01 |
295 | | - # DEBUG_PRINT_ENABLED 0x02 |
296 | | - # DEBUG_CODE_ENABLED 0x04 |
297 | | - # CLEAR_MEMORY_ENABLED 0x08 |
298 | | - # ASSERT_BREAKPOINT_ENABLED 0x10 |
299 | | - # ASSERT_DEADLOOP_ENABLED 0x20 |
300 | | -!if $(TARGET) == RELEASE |
301 | | - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x21 |
302 | | -!else |
303 | | - gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2f |
304 | | -!endif |
| 308 | + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK) |
305 | 309 |
|
306 | 310 | # DEBUG_INIT 0x00000001 // Initialization |
307 | 311 | # DEBUG_WARN 0x00000002 // Warnings |
|
594 | 598 | # |
595 | 599 | # ACPI Support |
596 | 600 | # |
597 | | - MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf |
| 601 | + MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf { |
| 602 | + <PcdsFixedAtBuild> |
| 603 | + gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK) & ~0x04 |
| 604 | + } |
598 | 605 | MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/BootGraphicsResourceTableDxe.inf |
599 | 606 | Platform/RaspberryPi/RPi5/AcpiTables/AcpiTables.inf |
600 | 607 |
|
|
0 commit comments