aboutsummaryrefslogtreecommitdiff
path: root/loader_stage2.c
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-10-11 18:59:16 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-10-11 18:59:16 +0200
commitbc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5 (patch)
treeabb9e1e6632a902fa2aa4acc1be21cfb9421e312 /loader_stage2.c
parentb452b0edbc784722c25014a20f554737d64ba758 (diff)
downloadrpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.tar.gz
rpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.zip
initialize uart in bootloader's stage2, not stage1
Diffstat (limited to 'loader_stage2.c')
-rw-r--r--loader_stage2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader_stage2.c b/loader_stage2.c
index 98ce571..e221dda 100644
--- a/loader_stage2.c
+++ b/loader_stage2.c
@@ -13,7 +13,7 @@ stage2(uint32_t r0, uint32_t r1, uint32_t atags)
(void) r1;
(void) atags;
- uart_puts("hello stage2!\n\r");
+ uart_init();
// get kernel size via uart (little endian)
uint32_t b0, b1, b2, b3;