mirror of
https://github.com/ipxe/ipxe
synced 2026-01-21 09:57:23 +03:00
[spcr] Use the serial port defined by the ACPI SPCR by default
On platforms where we expect ACPI tables to exist, use the serial port defined by the ACPI Serial Port Console Redirection (SPCR) table by default, falling back to the fixed serial port defined at build time. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -28,7 +28,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define FDT_EFI
|
||||
#define MPAPI_EFI
|
||||
#define NAP_EFI
|
||||
#define SERIAL_FIXED
|
||||
#define SERIAL_SPCR
|
||||
|
||||
#define NET_PROTO_IPV6 /* IPv6 protocol */
|
||||
#define NET_PROTO_LLDP /* Link Layer Discovery protocol */
|
||||
|
||||
@@ -26,7 +26,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define REBOOT_PCBIOS
|
||||
#define ACPI_RSDP
|
||||
#define MPAPI_PCBIOS
|
||||
#define SERIAL_FIXED
|
||||
#define SERIAL_SPCR
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define IOMAP_PAGES
|
||||
|
||||
@@ -26,6 +26,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
|
||||
#define COMSPEED 115200 /* Baud rate */
|
||||
#endif
|
||||
|
||||
/* Uncomment these to ignore the ACPI SPCR table (if present) */
|
||||
//#undef SERIAL_SPCR
|
||||
//#define SERIAL_FIXED
|
||||
|
||||
/* Early UART configuration (for bare metal prefix debugging only) */
|
||||
//#define EARLY_UART_MODEL 8250
|
||||
//#define EARLY_UART_REG_BASE 0x10000000
|
||||
|
||||
Reference in New Issue
Block a user