aboutsummaryrefslogtreecommitdiff
path: root/hw/lpc-uart.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-15 16:33:14 +1100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-10-15 16:33:14 +1100
commit74d8b199dd2fedd63151962c1bb1543af36e9069 (patch)
treedbd6671bb967346a65277160b1603457f9e7b89c /hw/lpc-uart.c
parente7cefbf005c504ce4a17ea83b16297451b8acb1d (diff)
downloadskiboot-74d8b199dd2fedd63151962c1bb1543af36e9069.zip
skiboot-74d8b199dd2fedd63151962c1bb1543af36e9069.tar.gz
skiboot-74d8b199dd2fedd63151962c1bb1543af36e9069.tar.bz2
uart: Works better if we actually allocate out_buf
That got lost during a rebase ... oops. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'hw/lpc-uart.c')
-rw-r--r--hw/lpc-uart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lpc-uart.c b/hw/lpc-uart.c
index d679048..fe1fabd 100644
--- a/hw/lpc-uart.c
+++ b/hw/lpc-uart.c
@@ -420,6 +420,7 @@ void uart_setup_opal_console(void)
/* Allocate an input buffer */
in_buf = zalloc(IN_BUF_SIZE);
+ out_buf = zalloc(OUT_BUF_SIZE);
prlog(PR_DEBUG, "UART: Enabled as OS console\n");
/* Register OPAL APIs */