summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2025-11-05 21:06:53 +0100
committerMichael Brown2025-11-05 21:06:53 +0100
commitb41bda4413bf286d7b7a449bc05e1531da1eec2e (patch)
tree0f1547fd9a889f7817b0350991fadb14481a30de /src/include
parent[acpi] Allow acpi_ioremap() to map a port I/O address (diff)
downloadipxe-b41bda4413bf286d7b7a449bc05e1531da1eec2e.tar.gz
ipxe-b41bda4413bf286d7b7a449bc05e1531da1eec2e.tar.xz
ipxe-b41bda4413bf286d7b7a449bc05e1531da1eec2e.zip
[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>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/spcr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/spcr.h b/src/include/ipxe/spcr.h
index ff41a4b89..366092ade 100644
--- a/src/include/ipxe/spcr.h
+++ b/src/include/ipxe/spcr.h
@@ -74,6 +74,7 @@ struct spcr_table {
/* SPCR interface types */
#define SPCR_TYPE_16550 0x0000 /**< 16550-compatible */
#define SPCR_TYPE_16450 0x0001 /**< 16450-compatible */
+#define SPCR_TYPE_16550_GAS 0x0012 /**< 16550-compatible */
/** SPCR baud rates */
enum spcr_baud {