summaryrefslogtreecommitdiffstats
path: root/hw
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
parente7cefbf005c504ce4a17ea83b16297451b8acb1d (diff)
downloadtalos-skiboot-74d8b199dd2fedd63151962c1bb1543af36e9069.tar.gz
talos-skiboot-74d8b199dd2fedd63151962c1bb1543af36e9069.zip
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')
-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 d6790484..fe1fabd9 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 */
OpenPOWER on IntegriCloud