diff options
author | David Müller (ELSOFT AG) <d.mueller@elsoft.ch> | 2016-02-06 06:57:25 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-08 15:22:44 (GMT) |
commit | 928f6054555618c9700bc5ebc16b9a661fd3ead7 (patch) | |
tree | abe98f6afbeebe8fd52b663d47617fb1f61e49ef /arch/powerpc | |
parent | 89ca1000caefcfaeb06fdb9fcc8fdc09c318d26a (diff) | |
download | u-boot-fsl-qoriq-928f6054555618c9700bc5ebc16b9a661fd3ead7.tar.xz |
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')
-rw-r--r-- | arch/powerpc/cpu/mpc8xx/serial.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/powerpc/cpu/mpc8xx/serial.c b/arch/powerpc/cpu/mpc8xx/serial.c index af65c96..94c785f 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 |