aboutsummaryrefslogtreecommitdiff
path: root/src/arm/PL1/kernel/setup.c
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2020-01-18 21:03:06 +0100
committervetch <vetch97@gmail.com>2020-01-19 01:01:34 +0100
commit5f3bdab830d11a12149ef173185c62dd0645e9c8 (patch)
tree77a7c1c0fbc2131fc7114b2d20fe82e6ed14b273 /src/arm/PL1/kernel/setup.c
parent0920063147c59077598d98823a3bbe43d45a6f28 (diff)
downloadrpi-MMU-example-5f3bdab830d11a12149ef173185c62dd0645e9c8.tar.gz
rpi-MMU-example-5f3bdab830d11a12149ef173185c62dd0645e9c8.zip
make UART our own
Diffstat (limited to 'src/arm/PL1/kernel/setup.c')
-rw-r--r--src/arm/PL1/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arm/PL1/kernel/setup.c b/src/arm/PL1/kernel/setup.c
index bf7c9a1..865a719 100644
--- a/src/arm/PL1/kernel/setup.c
+++ b/src/arm/PL1/kernel/setup.c
@@ -11,7 +11,7 @@
void setup(uint32_t r0, uint32_t machine_type,
struct atag_header *atags)
{
- uart_init();
+ uart_init(115200, UART_1_STOP | UART_NO_PAR | UART_WLEN_8_BITS);
// When we attach screen session after loading kernel with socat
// we miss kernel's greeting... So we'll make the kernel wait for