audk/ArmPkg
Ard Biesheuvel b1d3895fb9 ArmPkg/PlatformBootManagerLib: use static assertion for console type
Replace the runtime ASSERT with the build time STATIC_ASSERT on the
check that ensures that the terminal type we use for the serial
console matches the one we explicitly add to the ConIn/ConOut/StdErr
variables.

This helps catch serial console issues early, even in RELEASE builds,
reducing the risk of ending up with no console at all, which can be
tricky to debug on bare metal.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Sami Mujawar <Sami.Mujawar@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2020-06-03 14:04:59 +00:00
..
Drivers ArmPkg/MmCommunicationDxe: expose MM Communicate 2 protocol 2020-05-12 19:23:44 +00:00
Filesystem/SemihostFs ArmPkg: Fix various typos 2019-07-04 12:20:28 +01:00
Include ArmPkg/CpuDxe: move PageAttributeToGcdAttribute() out of ArmMmuLib 2020-04-02 12:35:52 +00:00
Library ArmPkg/PlatformBootManagerLib: use static assertion for console type 2020-06-03 14:04:59 +00:00
ArmPkg.dec ArmPkg/ArmSmcPsciResetSystemLib: remove EnterS3WithImmediateWake () 2020-01-14 22:12:17 +00:00
ArmPkg.dsc ArmPkg/ArmPkg.dsc: Add missing components 2020-03-25 09:56:23 +00:00