aboutsummaryrefslogtreecommitdiff
path: root/platforms/rhesus
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2016-06-25 08:47:33 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-06 19:30:48 +1000
commit5740d2eb91303715fd077cf2deb7347fb1173e69 (patch)
tree4d94871c8569aa11023972eb7d1368775729f58a /platforms/rhesus
parent53a9d925e2832cebb8814df47f949b01ce9b24ff (diff)
downloadskiboot-5740d2eb91303715fd077cf2deb7347fb1173e69.zip
skiboot-5740d2eb91303715fd077cf2deb7347fb1173e69.tar.gz
skiboot-5740d2eb91303715fd077cf2deb7347fb1173e69.tar.bz2
uart: Cleanup initialization and remove simulator hack
Add more generic support for MMIO based UARTs, simplify code, use common initialization, and clean up the device-tree representation as well. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms/rhesus')
-rw-r--r--platforms/rhesus/rhesus.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/platforms/rhesus/rhesus.c b/platforms/rhesus/rhesus.c
index 3e2c41b..a3af777 100644
--- a/platforms/rhesus/rhesus.c
+++ b/platforms/rhesus/rhesus.c
@@ -270,12 +270,8 @@ static bool rhesus_probe(void)
/* Add missing bits of device-tree such as the UART */
rhesus_dt_fixup(has_uart_irq);
- /*
- * Setup UART and use it as console. For now, we
- * don't expose the interrupt as we know it's not
- * working properly yet
- */
- uart_init(has_uart_irq);
+ /* Setup UART and use it as console */
+ uart_init();
return true;
}