aboutsummaryrefslogtreecommitdiff
path: root/platforms/astbmc
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/astbmc
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/astbmc')
-rw-r--r--platforms/astbmc/common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platforms/astbmc/common.c b/platforms/astbmc/common.c
index d38de3b..e1a8a4d 100644
--- a/platforms/astbmc/common.c
+++ b/platforms/astbmc/common.c
@@ -352,8 +352,8 @@ void astbmc_early_init(void)
/* Similarly, some BMCs don't configure the BT interrupt properly */
ast_setup_ibt(BT_IO_BASE, BT_LPC_IRQ);
- /* Setup UART and use it as console with interrupts */
- uart_init(true);
+ /* Setup UART and use it as console */
+ uart_init();
prd_init();
}