summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorYoichi Yuasa <yuasa@linux-mips.org>2010-02-08 20:59:39 +0900
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:36 +0100
commit7cd93b893567906d9c9e9e1121667600b4cebbaf (patch)
tree2bbce647eb6d83d95be4d067d50093a9156b3f0e /arch/mips/include/asm
parent31c4867d6c75450f98398a1172f03383c4881c98 (diff)
downloadtalos-obmc-linux-7cd93b893567906d9c9e9e1121667600b4cebbaf.tar.gz
talos-obmc-linux-7cd93b893567906d9c9e9e1121667600b4cebbaf.zip
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')
-rw-r--r--arch/mips/include/asm/setup.h8
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 @@
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);
OpenPOWER on IntegriCloud