mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 22:26:12 +00:00 
			
		
		
		
	 9b41fcb0eb
			
		
	
	
		9b41fcb0eb
		
	
	
	
	
		
			
			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>
		
	
			
		
			
				
	
	
		
			13 lines
		
	
	
		
			273 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			273 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __MV64X60_H__
 | |
| #define __MV64X60_H__
 | |
| 
 | |
| #include <linux/init.h>
 | |
| 
 | |
| 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__ */
 |