git: 038457dde93c - main - stand/efi: Add more pl011-like uarts

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Thu, 23 Jan 2025 17:27:24 UTC
The branch main has been updated by andrew:

URL: https://cgit.FreeBSD.org/src/commit/?id=038457dde93c395cee7746f1f2a484056ab60703

commit 038457dde93c395cee7746f1f2a484056ab60703
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-01-23 17:11:04 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-01-23 17:26:25 +0000

    stand/efi: Add more pl011-like uarts
    
    The Arm SBSA uarts are handled by the pl011 driver. Add them to the
    list of pl011 uarts.
    
    Reviewed by:    manu, imp
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D48526
---
 stand/efi/loader/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index 6dcdb4cb3334..76e02e461aa8 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -802,6 +802,8 @@ acpi_uart_type(UINT8 t)
 		[0x01] = "ns8250",	/* DBGP Rev 1 16550 subset */
 		[0x03] = "pl011",	/* Arm PL011 */
 		[0x05] = "ns8250",	/* Nvidia 16550 */
+		[0x0d] = "pl011",	/* Arm SBSA 32-bit width */
+		[0x0e] = "pl011",	/* Arm SBSA generic */
 		[0x12] = "ns8250",	/* 16550 defined in SerialPort */
 	};