1
0

start_kernel.c: Use Raspberry Pi's mini_UART for print()

This commit is contained in:
Aaron Lindsay 2012-09-29 23:29:35 -04:00
parent 787a46f2ca
commit 925192fca1

View File

@ -23,7 +23,7 @@
#include <mmu.h> #include <mmu.h>
#include <mm.h> #include <mm.h>
#include <print.h> #include <print.h>
#include <devices/pl011.h> #include <devices/pi_mini_uart.h>
#include <devices/pl111.h> #include <devices/pl111.h>
#include <framebuffer.h> #include <framebuffer.h>
@ -122,7 +122,8 @@ int main(void) {
mmu_reinit(); mmu_reinit();
//initialize the serial console //initialize the serial console
print_init(&pl011_putc); mini_uart_init();
print_init(&mini_uart_putc);
//setup memory //setup memory
mm_init(); mm_init();