]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg: Add PCD for serial debug port interrupt
authorThomas Abraham <thomas.abraham@arm.com>
Wed, 22 Jun 2022 15:38:43 +0000 (21:08 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 22 Jun 2022 17:31:49 +0000 (17:31 +0000)
For Arm platforms that support more that one serial port, one of the
serial port can be used for connecting debuggers such as WinDbg. There
are PCDs that allow the base address and clock rate to be specified for
this debug serial port but not its interrupt number. So add a PCD to
specify the interrupt number assigned to the serial debug port
controller.

Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
ArmPlatformPkg/ArmPlatformPkg.dec

index 3a25ddcdc8cacb692074734aeecb0b6d3708423a..dd6e78f62aa1bd917c5e0f3b1886a42c59da7077 100644 (file)
@@ -94,6 +94,7 @@
   gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase|0x00000000|UINT64|0x00000030\r
   gArmPlatformTokenSpaceGuid.PcdSerialDbgUartBaudRate|0x00000000|UINT64|0x00000031\r
   gArmPlatformTokenSpaceGuid.PcdSerialDbgUartClkInHz|0x00000000|UINT32|0x00000032\r
+  gArmPlatformTokenSpaceGuid.PcdSerialDbgInterrupt|0x00000000|UINT32|0x00000041\r
 \r
   ## PL061 GPIO\r
   gArmPlatformTokenSpaceGuid.PcdPL061GpioBase|0x0|UINT32|0x00000025\r