On Wed, Oct 4, 2023 at 9:01 PM MrChromebox <matt.devillier@gmail.com> wrote:
>
> 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@gmail.com>
> Change-Id: I9bcaf03ab63f6a45d2cf25a580f7a2eba388cbbd
Series-generic-feedback: Remove Change-Id lines and CC the proper
maintainers for each patch
> ---
> 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;
I don't think you can do this? UNIVERSAL_PAYLOAD_SERIAL_PORT_INFO is
part of a spec (https://universalscalablefirmware.github.io/documentation/2_universal_payload.html)
and it doesn't even seem to be versioned, so you'd just break ABI. Am
I missing something?
--
Pedro
You receive all messages sent to this group.
View/Reply Online (#109461) |
|
Mute This Topic
| New Topic
Your Subscription |
Contact Group Owner |
Unsubscribe
[rebecca@openfw.io]