add basic secure monitor code for armv7+, for some reason sdram security does not...
[rpi-open-firmware.git] / arm_chainloader / drivers / uart.c
1 #include <lib/runtime.h>
2 #include <hardware.h>
3
4 #define UART_DR (UART_BASE+0x00)
5 #define UART_FR (UART_BASE+0x18)
6
7 void uart_putc(unsigned int ch)
8 {
9 while(mmio_read32(UART_FR) & 0x20);
10 mmio_write32(UART_DR, ch);
11 }
This page took 0.06857 seconds and 4 git commands to generate.