Add build time checks for serial terminal settings, so we don't end up with a non-functional serial console if the PCDs are set incorrectly v1 was just the second patch. v2 adds the first patch switching to STATIC_ASSERT first, and then uses STATIC_ASSERT in the second one as well. Ard Biesheuvel (2): ArmPkg/PlatformBootManagerLib: use static assertion for console type ArmPkg/PlatformBootManagerLib: reject 'default' parity and stop bit count ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)