[edk2-devel] [PATCH 1/3] MdeModulePkg: Add ClockRate field to SerialPortInfo
MrChromebox
matt.devillier at gmail.com
Wed Oct 4 20:01:33 UTC 2023
Add the ClockRate field to the UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO
struct, so that the field can be used by UefiPayloadPkg to properly
set up the serial port on boards using a non-standard clock rate.
Signed-off-by: Matt DeVillier <matt.devillier at gmail.com>
Change-Id: I9bcaf03ab63f6a45d2cf25a580f7a2eba388cbbd
---
MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h b/MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h
index 3c4459e2c0..e3c9f93654 100644
--- a/MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h
+++ b/MdeModulePkg/Include/UniversalPayload/SerialPortInfo.h
@@ -19,6 +19,7 @@ typedef struct {
BOOLEAN UseMmio;
UINT8 RegisterStride;
UINT32 BaudRate;
+ UINT32 ClockRate;
EFI_PHYSICAL_ADDRESS RegisterBase;
} UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO;
#pragma pack()
--
2.34.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109335): https://edk2.groups.io/g/devel/message/109335
Mute This Topic: https://groups.io/mt/101763374/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list