summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/console/uart.c
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-07-14 08:46:06 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-07-14 08:46:06 +0000
commit3c6fe2e7f95f6bff53123df9377b114cadeac874 (patch)
treefef9ad7a4cd45497a1a84c1b7f9cd103eb258c43 /c/src/lib/libbsp/powerpc/shared/console/uart.c
parentcorrections in display driver (diff)
downloadrtems-3c6fe2e7f95f6bff53123df9377b114cadeac874.tar.bz2
added haleakala BSP contributed by Michael Hamel
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/console/uart.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/console/uart.c b/c/src/lib/libbsp/powerpc/shared/console/uart.c
index ea47aa8313..dd63c6781b 100644
--- a/c/src/lib/libbsp/powerpc/shared/console/uart.c
+++ b/c/src/lib/libbsp/powerpc/shared/console/uart.c
@@ -74,15 +74,13 @@ static struct uart_data uart_data[2] = {
static inline unsigned char
uread(int uart, unsigned int reg)
{
-
- return in_8((unsigned char*)(uart_data[uart].ioBase + reg));
-
+ return in_8((unsigned char*)(uart_data[uart].ioBase + reg));
}
static inline void
uwrite(int uart, int reg, unsigned int val)
{
- out_8((unsigned char*)(uart_data[uart].ioBase + reg), val);
+ out_8((unsigned char*)(uart_data[uart].ioBase + reg), val);
}