|
iPXE
|
Flattened Device Tree serial console. More...
Go to the source code of this file.
Macros | |
| #define | SERIAL_PREFIX_fdt __fdt_ |
| #define | colour &fdtcon_parent |
| Colour for debug messages. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static struct uart * | fdtcon_default (void) |
| Identify default serial console. | |
| PROVIDE_SERIAL (fdt, default_serial_console, fdtcon_default) | |
Variables | |
| static struct device | fdtcon_parent |
| FDT console parent device. | |
Flattened Device Tree serial console.
Definition in file fdtcon.c.
| #define colour &fdtcon_parent |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
static |
Identify default serial console.
| uart | Default serial console UART, or NULL |
Definition at line 58 of file fdtcon.c.
References colour, DBGC, dt_probe_node(), fdt_alias(), fdt_path(), fdt_string(), fdtcon_parent, uart::list, list_last_entry, uart::name, NULL, rc, strerror(), sysfdt, and uarts.
Referenced by PROVIDE_SERIAL().
| PROVIDE_SERIAL | ( | fdt | , |
| default_serial_console | , | ||
| fdtcon_default | ) |
References default_serial_console(), and fdtcon_default().
|
static |
FDT console parent device.
Definition at line 44 of file fdtcon.c.
Referenced by fdtcon_default().