[PATCH 068/111] LEON3: export debug uart to console uart driver

Daniel Hellstrom daniel at gaisler.com
Thu Feb 26 16:39:10 UTC 2015


---
 .../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 685a193..2fc005c 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
-- 
1.7.0.4




More information about the devel mailing list