#endif
}
+#if CONFIG_CONSOLE_SERIAL8250 || CONFIG_CONSOLE_SERIAL8250MEM || \
+ CONFIG_CONSOLE_LOGBUF || CONFIG_USBDEBUG
static void add_console(struct lb_header *header, u16 consoletype)
{
struct lb_console *console;
console->type = consoletype;
}
+#endif
+
static void lb_console(struct lb_header *header)
{
#if CONFIG_CONSOLE_SERIAL8250