Skip to content

Commit

Permalink
UefiPayloadPkg/UefiPayloadEntry: Set serial ClockRate from parsed Ser…
Browse files Browse the repository at this point in the history
…ialInfo

Signed-off-by: Matt DeVillier <[email protected]>
Change-Id: If764bd7c0b691cf887205471d0343fdf62372141
  • Loading branch information
MrChromebox committed Sep 18, 2024
1 parent 10f7f7e commit 7d5bc3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions UefiPayloadPkg/UefiPayloadEntry/UefiPayloadEntry.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ _ModuleEntryPoint (
UniversalSerialPort->UseMmio = (SerialPortInfo.Type == 1) ? FALSE : TRUE;
UniversalSerialPort->RegisterBase = SerialPortInfo.BaseAddr;
UniversalSerialPort->BaudRate = SerialPortInfo.Baud;
UniversalSerialPort->ClockRate = SerialPortInfo.InputHertz;
UniversalSerialPort->RegisterStride = (UINT8)SerialPortInfo.RegWidth;
}

Expand Down

0 comments on commit 7d5bc3e

Please sign in to comment.