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