-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Platform/RPi4: Enable the use of DualSerialPortLib
With DualSerialPortLib available, we can remove the PL011_ENABLE option and use this library instead of being tied to selecting only one of PL011SerialPortLib or BaseSerialPortLib16550. Note that, for the time being, we choose to default to selecting the PL011 based TF-A binary, since we have to pick one and we expect that most usage of the firmware will be for a PL011 configuration (we of course validated that the only drawback of using PL011 with a miniUART configuration the loss of the 2 lines of serial debug output from TF-A on startup and that there was no other issue besides that), but work is underway to add runtime UART detection to TF-A, after which we will revert to using a single TF-A binary that supports both UARTs. Also note that this patch currently enforces the use of PL011 for the ACPI tables, as we also have to pick one until we can switch to using DynamicTablesPkg/ConfigurationManagerDxe for ACPI generation, which we should do in a future update, and which will enable us to update the ACPI tables at runtime according to the user-selected UART. Signed-off-by: Pete Batard <pete@akeo.ie> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
- Loading branch information
Showing
4 changed files
with
15 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters