diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-05 08:06:26 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-02-26 15:25:45 +0100 |
commit | 139cfca97fa72ca25397aac2ec3abb78c2dc87fc (patch) | |
tree | 1c487024fa240e5405da0b291f3f35796de68198 | |
parent | beca38192e9fe8bb05b7701da8553532ce86a93a (diff) |
LEON3: export debug uart to console uart driver
-rw-r--r-- | c/src/lib/libbsp/sparc/leon3/console/printk_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c b/c/src/lib/libbsp/sparc/leon3/console/printk_support.c index 685a193309..2fc005ca4b 100644 --- a/c/src/lib/libbsp/sparc/leon3/console/printk_support.c +++ b/c/src/lib/libbsp/sparc/leon3/console/printk_support.c @@ -25,7 +25,7 @@ #include <apbuart_termios.h> int debug_uart_index __attribute__((weak)) = 0; -static struct apbuart_regs *dbg_uart = NULL; +struct apbuart_regs *dbg_uart = NULL; /* Before UART driver has registered (or when no UART is available), calls to * printk that gets to bsp_out_char() will be filling data into the |