]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/src/kern/arm/bsp/kirkwood/kernel_uart-arm-kirkwood.cpp
8796e234f45e8ebc47201368ae7770c4d1831e30
[l4.git] / kernel / fiasco / src / kern / arm / bsp / kirkwood / kernel_uart-arm-kirkwood.cpp
1 INTERFACE:
2
3 // On ARM the MMIO for the uart is accessible before the MMU is fully up
4 EXTENSION class Kernel_uart { enum { Bsp_init_mode = Init_before_mmu }; };
5
6 IMPLEMENTATION [arm && kirkwood && serial]:
7
8 #include "mem_layout.h"
9
10 IMPLEMENT
11 bool Kernel_uart::startup(unsigned port, int /*irq*/)
12 {
13   return Uart::startup(Mem_layout::Uart_base, 33);
14 }