]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[spcr] Accept alternative type value for a 16550-compatible UART coverity_scan master
authorMichael Brown <mcb30@ipxe.org>
Wed, 5 Nov 2025 20:06:53 +0000 (20:06 +0000)
committerMichael Brown <mcb30@ipxe.org>
Wed, 5 Nov 2025 20:06:53 +0000 (20:06 +0000)
commitb41bda4413bf286d7b7a449bc05e1531da1eec2e
tree0f1547fd9a889f7817b0350991fadb14481a30de
parent6d9374e5a39337ff755f0e425fb987e6c672d151
[spcr] Accept alternative type value for a 16550-compatible UART

Some systems (observed on an AWS EC2 m7i.metal-24xl instance in
eu-south-2) use the newer "16550-compatible with parameters defined in
Generic Address Structure" type value.  (There does not appear to be
any particular reason why the newer value needs to be used: the UART
is still a standard 16550 with single-byte registers.)

Accept this additional type value for a 16550-compatible UART.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/spcr.c
src/include/ipxe/spcr.h