38#define SERIAL_PREFIX_fdt
40#define SERIAL_PREFIX_fdt __fdt_
51#define colour &fdtcon_parent
71 DBGC (
colour,
"FDTCON could not locate \"/chosen\": %s\n",
79 DBGC (
colour,
"FDTCON has no console device\n" );
82 DBGC (
colour,
"FDTCON console device is \"%s\"\n", path );
87 DBGC (
colour,
"FDTCON could not locate \"/%s\": %s\n",
94 DBGC (
colour,
"FDTCON could not probe \"%s\": %s\n",
#define NULL
NULL pointer (VOID *)
#define colour
Colour for debug messages.
struct arbelprm_rc_send_wqe rc
int dt_probe_node(struct device *parent, unsigned int offset)
Probe devicetree node.
const char * fdt_string(struct fdt *fdt, unsigned int offset, const char *name)
Find string property.
int fdt_alias(struct fdt *fdt, const char *name, unsigned int *offset)
Find node by alias.
struct fdt sysfdt
The system flattened device tree (if present)
int fdt_path(struct fdt *fdt, const char *path, unsigned int *offset)
Find node by path.
static struct device fdtcon_parent
FDT console parent device.
static struct uart * fdtcon_default(void)
Identify default serial console.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
struct uart * default_serial_console(void)
Get serial console UART.
#define PROVIDE_SERIAL(_subsys, _api_func, _func)
Provide a serial API implementation.
#define list_last_entry(list, type, member)
Get the container of the last entry in a list.
#define LIST_HEAD_INIT(list)
Initialise a static list head.
char * strerror(int errno)
Retrieve string representation of error number.
struct list_head list
List of registered UARTs.