From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.9025.1655912333327540414 for ; Wed, 22 Jun 2022 08:38:53 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: thomas.abraham@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 10D2812FC; Wed, 22 Jun 2022 08:38:53 -0700 (PDT) Received: from a077432.blr.arm.com (unknown [10.162.46.9]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 67F153F792; Wed, 22 Jun 2022 08:38:51 -0700 (PDT) From: "Thomas Abraham" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Sami Mujawar Subject: [PATCH v2] ArmPlatformPkg: Add PCD for serial debug port interrupt Date: Wed, 22 Jun 2022 21:08:43 +0530 Message-Id: <20220622153843.15003-1-thomas.abraham@arm.com> X-Mailer: git-send-email 2.17.1 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 --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + 1 file changed, 1 insertion(+) Changes since v1 - Updated commit message and removed the Change-Id line as suggested by Ard. 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 -- 2.17.1