mirror of
https://github.com/ipxe/ipxe
synced 2026-01-29 12:29:13 +03:00
[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>
This commit is contained in:
@@ -143,6 +143,7 @@ static struct uart * spcr_console ( void ) {
|
||||
switch ( spcr->type ) {
|
||||
case SPCR_TYPE_16550:
|
||||
case SPCR_TYPE_16450:
|
||||
case SPCR_TYPE_16550_GAS:
|
||||
if ( ( rc = spcr_16550 ( spcr, uart ) ) != 0 )
|
||||
goto err_type;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user