diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2020-01-18 21:03:06 +0100 |
---|---|---|
committer | vetch <vetch97@gmail.com> | 2020-01-19 01:01:34 +0100 |
commit | 5f3bdab830d11a12149ef173185c62dd0645e9c8 (patch) | |
tree | 77a7c1c0fbc2131fc7114b2d20fe82e6ed14b273 /src/arm/PL1/kernel/setup.c | |
parent | 0920063147c59077598d98823a3bbe43d45a6f28 (diff) | |
download | rpi-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.c | 2 |
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 |