|
@@ -48,7 +48,6 @@ static const struct of_device_id of_match[];
|
|
#define UART_MCR_MDCE BIT(7)
|
|
#define UART_MCR_MDCE BIT(7)
|
|
#define UART_MCR_FCM BIT(6)
|
|
#define UART_MCR_FCM BIT(6)
|
|
|
|
|
|
-#if defined(CONFIG_SERIAL_EARLYCON) && !defined(MODULE)
|
|
|
|
static struct earlycon_device *early_device;
|
|
static struct earlycon_device *early_device;
|
|
|
|
|
|
static uint8_t __init early_in(struct uart_port *port, int offset)
|
|
static uint8_t __init early_in(struct uart_port *port, int offset)
|
|
@@ -141,7 +140,6 @@ OF_EARLYCON_DECLARE(jz4775_uart, "ingenic,jz4775-uart",
|
|
EARLYCON_DECLARE(jz4780_uart, ingenic_early_console_setup);
|
|
EARLYCON_DECLARE(jz4780_uart, ingenic_early_console_setup);
|
|
OF_EARLYCON_DECLARE(jz4780_uart, "ingenic,jz4780-uart",
|
|
OF_EARLYCON_DECLARE(jz4780_uart, "ingenic,jz4780-uart",
|
|
ingenic_early_console_setup);
|
|
ingenic_early_console_setup);
|
|
-#endif /* CONFIG_SERIAL_EARLYCON */
|
|
|
|
|
|
|
|
static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value)
|
|
static void ingenic_uart_serial_out(struct uart_port *p, int offset, int value)
|
|
{
|
|
{
|