0bce93622408b742205096132cdf459c8b3862e8
[rpi-open-firmware.git] / arm_chainloader / drivers / uart.c
1 #include <hardware.h>
2
3 #define UART_DR (UART_BASE+0x00)
4 #define UART_FR (UART_BASE+0x18)
5
6 void uart_putc(unsigned int ch)
7 {
8 while(mmio_read32(UART_FR) & 0x20);
9 mmio_write32(UART_DR, ch);
10 }
This page took 0.058558 seconds and 3 git commands to generate.