summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc8xx/serial.c
diff options
context:
space:
mode:
authorDavid Müller (ELSOFT AG) <d.mueller@elsoft.ch>2016-02-06 07:57:25 +0100
committerTom Rini <trini@konsulko.com>2016-02-08 10:22:44 -0500
commit928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch)
treeabe98f6afbeebe8fd52b663d47617fb1f61e49ef /arch/powerpc/cpu/mpc8xx/serial.c
parent89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff)
Remove unused CONFIG_MODEM_SUPPORT option and associated dead code.
Signed-off-by: David Müller <d.mueller@elsoft.ch>
Diffstat (limited to 'arch/powerpc/cpu/mpc8xx/serial.c')
-rw-r--r--arch/powerpc/cpu/mpc8xx/serial.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/serial.c b/arch/powerpc/cpu/mpc8xx/serial.c
index af65c969c2..94c785f611 100644
--- a/arch/powerpc/cpu/mpc8xx/serial.c
+++ b/arch/powerpc/cpu/mpc8xx/serial.c
@@ -268,11 +268,6 @@ smc_putc(const char c)
volatile cpm8xx_t *cpmp = &(im->im_cpm);
volatile serialbuffer_t *rtx;
-#ifdef CONFIG_MODEM_SUPPORT
- if (gd->be_quiet)
- return;
-#endif
-
if (c == '\n')
smc_putc ('\r');
@@ -527,11 +522,6 @@ scc_putc(const char c)
volatile immap_t *im = (immap_t *)CONFIG_SYS_IMMR;
volatile cpm8xx_t *cpmp = &(im->im_cpm);
-#ifdef CONFIG_MODEM_SUPPORT
- if (gd->be_quiet)
- return;
-#endif
-
if (c == '\n')
scc_putc ('\r');
@@ -637,18 +627,6 @@ void mpc8xx_serial_initialize(void)
#endif
}
-#ifdef CONFIG_MODEM_SUPPORT
-void disable_putc(void)
-{
- gd->be_quiet = 1;
-}
-
-void enable_putc(void)
-{
- gd->be_quiet = 0;
-}
-#endif
-
#if defined(CONFIG_CMD_KGDB)
void