summaryrefslogtreecommitdiffstats
path: root/cpu
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:13 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:13 +0200
commitfd7bed4a6ed215e64de24ba8de51b4f72079d4c6 (patch)
treecd414e71d7013dc27cce02f5cd4196e68aa4251f /cpu
parent2276b77b89cc701c85f6fff1ef09fe9ebb52e908 (diff)
downloadbarebox-fd7bed4a6ed215e64de24ba8de51b4f72079d4c6.tar.gz
barebox-fd7bed4a6ed215e64de24ba8de51b4f72079d4c6.tar.xz
svn_rev_006
remove modem support. It's scattered all over the place
Diffstat (limited to 'cpu')
-rw-r--r--cpu/arm920t/s3c24x0/serial.c17
-rw-r--r--cpu/lh7a40x/serial.c18
-rw-r--r--cpu/mpc8xx/serial.c16
3 files changed, 0 insertions, 51 deletions
diff --git a/cpu/arm920t/s3c24x0/serial.c b/cpu/arm920t/s3c24x0/serial.c
index 36851ad5ca..52b07ad286 100644
--- a/cpu/arm920t/s3c24x0/serial.c
+++ b/cpu/arm920t/s3c24x0/serial.c
@@ -121,19 +121,6 @@ int hwflow_onoff(int on)
}
#endif
-#ifdef CONFIG_MODEM_SUPPORT
-static int be_quiet = 0;
-void disable_putc(void)
-{
- be_quiet = 1;
-}
-
-void enable_putc(void)
-{
- be_quiet = 0;
-}
-#endif
-
/*
* Output a single byte to the serial port.
@@ -141,10 +128,6 @@ void enable_putc(void)
void serial_putc (const char c)
{
S3C24X0_UART * const uart = S3C24X0_GetBase_UART(UART_NR);
-#ifdef CONFIG_MODEM_SUPPORT
- if (be_quiet)
- return;
-#endif
/* wait for room in the tx FIFO */
while (!(uart->UTRSTAT & 0x2));
diff --git a/cpu/lh7a40x/serial.c b/cpu/lh7a40x/serial.c
index 2132c052a4..d727ccaa4f 100644
--- a/cpu/lh7a40x/serial.c
+++ b/cpu/lh7a40x/serial.c
@@ -124,19 +124,6 @@ int hwflow_onoff(int on)
}
#endif
-#ifdef CONFIG_MODEM_SUPPORT
-static int be_quiet = 0;
-void disable_putc(void)
-{
- be_quiet = 1;
-}
-
-void enable_putc(void)
-{
- be_quiet = 0;
-}
-#endif
-
/*
* Output a single byte to the serial port.
@@ -145,11 +132,6 @@ void serial_putc (const char c)
{
lh7a40x_uart_t* uart = LH7A40X_UART_PTR(UART_CONSOLE);
-#ifdef CONFIG_MODEM_SUPPORT
- if (be_quiet)
- return;
-#endif
-
/* wait for room in the tx FIFO */
while (!(uart->status & UART_TXFE));
diff --git a/cpu/mpc8xx/serial.c b/cpu/mpc8xx/serial.c
index 8ae584f2e1..af5f4cf201 100644
--- a/cpu/mpc8xx/serial.c
+++ b/cpu/mpc8xx/serial.c
@@ -271,11 +271,6 @@ smc_putc(const char c)
volatile immap_t *im = (immap_t *)CFG_IMMR;
volatile cpm8xx_t *cpmp = &(im->im_cpm);
-#ifdef CONFIG_MODEM_SUPPORT
- if (gd->be_quiet)
- return;
-#endif
-
if (c == '\n')
smc_putc ('\r');
@@ -554,11 +549,6 @@ scc_putc(const char c)
volatile immap_t *im = (immap_t *)CFG_IMMR;
volatile cpm8xx_t *cpmp = &(im->im_cpm);
-#ifdef CONFIG_MODEM_SUPPORT
- if (gd->be_quiet)
- return;
-#endif
-
if (c == '\n')
scc_putc ('\r');
@@ -646,12 +636,6 @@ struct serial_device serial_scc_device =
#endif /* CONFIG_8xx_CONS_SCCx */
-#ifdef CONFIG_MODEM_SUPPORT
-void disable_putc(void)
-{
- gd->be_quiet = 1;
-}
-
void enable_putc(void)
{
gd->be_quiet = 0;