aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-05-05 04:32:43 -0400
committerWolfgang Denk <wd@denx.de>2010-05-07 00:22:49 +0200
commit5794619e29c5e22280b0b09b2ea6bc3d2e00da3f (patch)
treef392949a445609edc64b74cb7895ea45845be1db
parentf745817e741e4251afbd9d5d7f04b2419f4aa9d9 (diff)
downloadu-boot-linaro-stable-5794619e29c5e22280b0b09b2ea6bc3d2e00da3f.tar.gz
serial: punt unused serial_addr()
Only one file apparently defines this function, and it merely stubs it out. So if no one is defining/calling it, punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--board/barco/barco.c4
-rw-r--r--include/common.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/board/barco/barco.c b/board/barco/barco.c
index d7a00782b..c5fe8c470 100644
--- a/board/barco/barco.c
+++ b/board/barco/barco.c
@@ -340,10 +340,6 @@ void serial_puts (const char *c)
{
return;
}
-void serial_addr (unsigned int i)
-{
- return;
-}
int serial_getc (void)
{
return 0;
diff --git a/include/common.h b/include/common.h
index 5591e1d04..8bca04fdd 100644
--- a/include/common.h
+++ b/include/common.h
@@ -470,7 +470,6 @@ void ft_pci_setup(void *blob, bd_t *bd);
/* $(CPU)/serial.c */
int serial_init (void);
void serial_exit (void);
-void serial_addr (unsigned int);
void serial_setbrg (void);
void serial_putc (const char);
void serial_putc_raw(const char);