diff options
author | Rob Herring <robh@kernel.org> | 2014-03-27 09:08:03 -0400 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2014-05-20 16:19:26 -0400 |
commit | 45e0f0f5684327a72866a34aedc3fcf8eec51889 (patch) | |
tree | ffccd959b88ae88cbcf3277176b6e7765433e3f8 | |
parent | fb11ffe74c794a510a29ad8cd81d4e9e3b1c9158 (diff) |
tty/serial: pl011: add DT based earlycon support
Enable DT based earlycon initialization for the pl011 uart.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Acked-by: Grant Likely <grant.likely@linaro.org>
-rw-r--r-- | drivers/tty/serial/amba-pl011.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index ee3d80346780..908a6e3142a2 100644 --- a/drivers/tty/serial/amba-pl011.c +++ b/drivers/tty/serial/amba-pl011.c | |||
@@ -2072,6 +2072,7 @@ static int __init pl011_early_console_setup(struct earlycon_device *device, | |||
2072 | return 0; | 2072 | return 0; |
2073 | } | 2073 | } |
2074 | EARLYCON_DECLARE(pl011, pl011_early_console_setup); | 2074 | EARLYCON_DECLARE(pl011, pl011_early_console_setup); |
2075 | OF_EARLYCON_DECLARE(pl011, "arm,pl011", pl011_early_console_setup); | ||
2075 | 2076 | ||
2076 | #else | 2077 | #else |
2077 | #define AMBA_CONSOLE NULL | 2078 | #define AMBA_CONSOLE NULL |