diff options
| author | Yoichi Yuasa <yuasa@linux-mips.org> | 2010-02-08 06:59:39 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 16:24:36 -0400 |
| commit | 7cd93b893567906d9c9e9e1121667600b4cebbaf (patch) | |
| tree | 2bbce647eb6d83d95be4d067d50093a9156b3f0e /arch/mips/include | |
| parent | 31c4867d6c75450f98398a1172f03383c4881c98 (diff) | |
MIPS: Add 8250/16550 serial early printk driver
Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/947/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include')
| -rw-r--r-- | arch/mips/include/asm/setup.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/include/asm/setup.h b/arch/mips/include/asm/setup.h index e26589ef36ee..d7bfdeba9e84 100644 --- a/arch/mips/include/asm/setup.h +++ b/arch/mips/include/asm/setup.h | |||
| @@ -5,6 +5,14 @@ | |||
| 5 | 5 | ||
| 6 | extern void setup_early_printk(void); | 6 | extern void setup_early_printk(void); |
| 7 | 7 | ||
| 8 | #ifdef CONFIG_EARLY_PRINTK_8250 | ||
| 9 | extern void setup_8250_early_printk_port(unsigned long base, | ||
| 10 | unsigned int reg_shift, unsigned int timeout); | ||
| 11 | #else | ||
| 12 | static inline void setup_8250_early_printk_port(unsigned long base, | ||
| 13 | unsigned int reg_shift, unsigned int timeout) {} | ||
| 14 | #endif | ||
| 15 | |||
| 8 | extern void set_handler(unsigned long offset, void *addr, unsigned long len); | 16 | extern void set_handler(unsigned long offset, void *addr, unsigned long len); |
| 9 | extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); | 17 | extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); |
| 10 | 18 | ||
