diff options
author | Yoichi Yuasa <yuasa@linux-mips.org> | 2010-02-08 20:59:39 +0900 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 21:24:36 +0100 |
commit | 7cd93b893567906d9c9e9e1121667600b4cebbaf (patch) | |
tree | 2bbce647eb6d83d95be4d067d50093a9156b3f0e /arch/mips/include/asm/setup.h | |
parent | 31c4867d6c75450f98398a1172f03383c4881c98 (diff) | |
download | op-kernel-dev-7cd93b893567906d9c9e9e1121667600b4cebbaf.zip op-kernel-dev-7cd93b893567906d9c9e9e1121667600b4cebbaf.tar.gz |
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/asm/setup.h')
-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 e26589e..d7bfdeb 100644 --- a/arch/mips/include/asm/setup.h +++ b/arch/mips/include/asm/setup.h @@ -5,6 +5,14 @@ extern void setup_early_printk(void); +#ifdef CONFIG_EARLY_PRINTK_8250 +extern void setup_8250_early_printk_port(unsigned long base, + unsigned int reg_shift, unsigned int timeout); +#else +static inline void setup_8250_early_printk_port(unsigned long base, + unsigned int reg_shift, unsigned int timeout) {} +#endif + extern void set_handler(unsigned long offset, void *addr, unsigned long len); extern void set_uncached_handler(unsigned long offset, void *addr, unsigned long len); |