From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.10427.1589891046014590498 for ; Tue, 19 May 2020 05:24:06 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ard.biesheuvel@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AE81230E; Tue, 19 May 2020 05:24:05 -0700 (PDT) Received: from e123331-lin.nice.arm.com (unknown [10.37.8.132]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 85D893F52E; Tue, 19 May 2020 05:24:03 -0700 (PDT) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: leif@nuviainc.com, graeme.gregory@linaro.org, tanmay.jagdale@linaro.org, lersek@redhat.com, sami.mujawar@arm.com, Ard Biesheuvel Subject: [PATCH v2 0/2] ArmPkg/PlatformBootManagerLib: add build time checks for serial terminal settings Date: Tue, 19 May 2020 14:23:49 +0200 Message-Id: <20200519122351.18405-1-ard.biesheuvel@arm.com> X-Mailer: git-send-email 2.17.1 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(-) -- 2.17.1