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 /Makefile | |
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 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ loader_stage2_embeddable.o : loader_stage2.img loader_stage1.o : loader_stage1.c arm-none-eabi-gcc $(CFLAGS) -c $^ -o $@ -loader.elf : boot.o loader_stage1.o uart.o loader_stage2_embeddable.o +loader.elf : boot.o loader_stage1.o loader_stage2_embeddable.o arm-none-eabi-gcc -T loader_stage1.ld -o $@ -ffreestanding -O2 -nostdlib $^ -lgcc loader.img : loader.elf |