aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mv64x60.h
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-05-15 05:52:22 +1000
committerPaul Mackerras <paulus@samba.org>2007-09-22 14:49:21 +1000
commit9b41fcb0eb890009f9de3df76fcdb2ba77314a4b (patch)
tree4b3af60598815d1bbc4c27b5c35aa0593136e43f /arch/powerpc/sysdev/mv64x60.h
parent[POWERPC] Optionally use new device number for pmac_zilog (diff)
downloadlinux-dev-9b41fcb0eb890009f9de3df76fcdb2ba77314a4b.tar.xz
linux-dev-9b41fcb0eb890009f9de3df76fcdb2ba77314a4b.zip
[POWERPC] Add Marvell mv64x60 udbg putc/getc functions
Commit 69331af, "Fixes and cleanups for earlyprintk aka boot console", resulted in printk output prior to the initialization of the mpsc console driver not being printed. That commit causes the mpsc's CON_PRINTBUFFER flag to be cleared since udbg should have printed the previous output. I guess we can no longer ignore udbg. :) This patch provides udbg_putc() and udbg_getc() functions for the Marvell mv64x60 chips. These functions are enabled if an mv64x60 port is to be used as the console as determined from the device tree. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Acked-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60.h')
-rw-r--r--arch/powerpc/sysdev/mv64x60.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/mv64x60.h b/arch/powerpc/sysdev/mv64x60.h
index 2ff0b4ef2681..4f618fa465c0 100644
--- a/arch/powerpc/sysdev/mv64x60.h
+++ b/arch/powerpc/sysdev/mv64x60.h
@@ -7,5 +7,6 @@ extern void __init mv64x60_init_irq(void);
extern unsigned int mv64x60_get_irq(void);
extern void __init mv64x60_pci_init(void);
+extern void __init mv64x60_init_early(void);
#endif /* __MV64X60_H__ */