summaryrefslogtreecommitdiffstats
path: root/cpu/mpc8220/uart.c
diff options
context:
space:
mode:
authorwdenk <wdenk>2005-05-16 15:23:22 +0000
committerwdenk <wdenk>2005-05-16 15:23:22 +0000
commit7680c140af9cac62c834f30d2d3c1479723ced69 (patch)
tree5f315fe7db8e19fabd9034f6f8e44a0ba440b207 /cpu/mpc8220/uart.c
parentc01766307c1140955b71a9a842d742ee6478bd24 (diff)
downloadu-boot-7680c140af9cac62c834f30d2d3c1479723ced69.tar.gz
u-boot-7680c140af9cac62c834f30d2d3c1479723ced69.tar.xz
u-boot-7680c140af9cac62c834f30d2d3c1479723ced69.zip
Add PCI support for Sorcery board.
Code cleanup (especially Sorcery / Alaska / Yukon serial driver).
Diffstat (limited to 'cpu/mpc8220/uart.c')
-rw-r--r--cpu/mpc8220/uart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpu/mpc8220/uart.c b/cpu/mpc8220/uart.c
index 42ae3250a2..5f54aac16e 100644
--- a/cpu/mpc8220/uart.c
+++ b/cpu/mpc8220/uart.c
@@ -33,7 +33,7 @@
#define PSC_BASE MMAP_PSC1
#if defined(CONFIG_PSC_CONSOLE)
-int psc_serial_init (void)
+int serial_init (void)
{
DECLARE_GLOBAL_DATA_PTR;
volatile psc8220_t *psc = (psc8220_t *) PSC_BASE;
@@ -68,7 +68,7 @@ int psc_serial_init (void)
return (0);
}
-void psc_serial_putc (const char c)
+void serial_putc (const char c)
{
volatile psc8220_t *psc = (psc8220_t *) PSC_BASE;
@@ -81,14 +81,14 @@ void psc_serial_putc (const char c)
psc->xmitbuf[0] = c;
}
-void psc_serial_puts (const char *s)
+void serial_puts (const char *s)
{
while (*s) {
serial_putc (*s++);
}
}
-int psc_serial_getc (void)
+int serial_getc (void)
{
volatile psc8220_t *psc = (psc8220_t *) PSC_BASE;
@@ -97,14 +97,14 @@ int psc_serial_getc (void)
return psc->xmitbuf[2];
}
-int psc_serial_tstc (void)
+int serial_tstc (void)
{
volatile psc8220_t *psc = (psc8220_t *) PSC_BASE;
return (psc->sr_csr & PSC_SR_RXRDY);
}
-void psc_serial_setbrg (void)
+void serial_setbrg (void)
{
DECLARE_GLOBAL_DATA_PTR;