summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@arm.com>2022-06-22 21:08:43 +0530
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-06-22 17:31:49 +0000
commitf304308e1cb21846a79fc8e4aa9ffa2cb1db3e4c (patch)
treeac8fb8f829caa1dfba73c56fb634bccbc9c78068 /ArmPlatformPkg
parent3f5b1b9132ffc4bc91ed3bc2da86afe5f78883e7 (diff)
downloadedk2-f304308e1cb21846a79fc8e4aa9ffa2cb1db3e4c.tar.gz
edk2-f304308e1cb21846a79fc8e4aa9ffa2cb1db3e4c.tar.bz2
edk2-f304308e1cb21846a79fc8e4aa9ffa2cb1db3e4c.zip
ArmPlatformPkg: Add PCD for serial debug port interrupt
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>
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r--ArmPlatformPkg/ArmPlatformPkg.dec1
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmPlatformPkg.dec b/ArmPlatformPkg/ArmPlatformPkg.dec
index 3a25ddcdc8..dd6e78f62a 100644
--- a/ArmPlatformPkg/ArmPlatformPkg.dec
+++ b/ArmPlatformPkg/ArmPlatformPkg.dec
@@ -94,6 +94,7 @@
gArmPlatformTokenSpaceGuid.PcdSerialDbgRegisterBase|0x00000000|UINT64|0x00000030
gArmPlatformTokenSpaceGuid.PcdSerialDbgUartBaudRate|0x00000000|UINT64|0x00000031
gArmPlatformTokenSpaceGuid.PcdSerialDbgUartClkInHz|0x00000000|UINT32|0x00000032
+ gArmPlatformTokenSpaceGuid.PcdSerialDbgInterrupt|0x00000000|UINT32|0x00000041
## PL061 GPIO
gArmPlatformTokenSpaceGuid.PcdPL061GpioBase|0x0|UINT32|0x00000025