[fdtcon] Add basic support for FDT-based system serial console

Add support for probing a device based on the path or alias found in
the "/chosen/stdout-path" node, and using a consequently instantiated
UART as the default serial console.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-06-23 16:25:19 +01:00
parent 9ada09c919
commit c33ff76d8d
2 changed files with 110 additions and 1 deletions

View File

@@ -22,10 +22,11 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#endif
#define CONSOLE_SBI
#define CONSOLE_SERIAL
#define REBOOT_SBI
#define UMALLOC_UHEAP
#define MEMMAP_FDT
#define SERIAL_NULL
#define SERIAL_FDT
#define ACPI_NULL
#define MPAPI_NULL