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>
#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 */
#define REBOOT_PCBIOS
#define ACPI_RSDP
#define MPAPI_PCBIOS
-#define SERIAL_FIXED
+#define SERIAL_SPCR
#ifdef __x86_64__
#define IOMAP_PAGES
#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