diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-02-03 20:51:56 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-07 14:15:54 +1100 |
commit | 5bd0f9c20481a886a5367cf0ccd9b92b7e0feb87 (patch) | |
tree | 8c88bf39b48415df4e1aaea8533ab7103d20971e /platforms/rhesus/rhesus.c | |
parent | 0500d504b13eb95046bcea9b17ad6787ff18e843 (diff) | |
download | skiboot-5bd0f9c20481a886a5367cf0ccd9b92b7e0feb87.zip skiboot-5bd0f9c20481a886a5367cf0ccd9b92b7e0feb87.tar.gz skiboot-5bd0f9c20481a886a5367cf0ccd9b92b7e0feb87.tar.bz2 |
uart: Fix Linux pass-through policy
This was broken on Rhesus. Also add an nvram way of
overriding the policy
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/rhesus/rhesus.c')
-rw-r--r-- | platforms/rhesus/rhesus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/rhesus/rhesus.c b/platforms/rhesus/rhesus.c index c96f120..0571e22 100644 --- a/platforms/rhesus/rhesus.c +++ b/platforms/rhesus/rhesus.c @@ -154,7 +154,7 @@ static void rhesus_init(void) rhesus_pnor_init(); /* Setup UART for direct use by Linux */ - uart_setup_linux_passthrough(); + uart_set_console_policy(UART_CONSOLE_OS); } static void rhesus_dt_fixup_uart(struct dt_node *lpc, bool has_irq) |