diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-11 18:59:16 +0200 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-10-11 18:59:16 +0200 |
commit | bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5 (patch) | |
tree | abb9e1e6632a902fa2aa4acc1be21cfb9421e312 /loader_stage1.c | |
parent | b452b0edbc784722c25014a20f554737d64ba758 (diff) | |
download | rpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.tar.gz rpi-MMU-example-bc9ee9f0acc0ec26acda4ffd8f5fdcd04a6375c5.zip |
initialize uart in bootloader's stage2, not stage1
Diffstat (limited to 'loader_stage1.c')
-rw-r--r-- | loader_stage1.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/loader_stage1.c b/loader_stage1.c index 9492747..d209c15 100644 --- a/loader_stage1.c +++ b/loader_stage1.c @@ -1,6 +1,5 @@ #include <stddef.h> #include <stdint.h> -#include <uart.h> #include <global.h> char *const stage2_addr = ((void*) 0x4000); @@ -15,10 +14,6 @@ extern char void kernel_main(uint32_t r0, uint32_t r1, uint32_t atags) { - // uart_init() call to be moved to stage2... - uart_init(); - uart_puts("Hello, bootloader World!\r\n"); - // stage2 of the bootloader is a blob embedded in executable; // copy it over to it's destination place // TODO implement a memcpy() somewhere and use it instead of loops |