 a13f079575
			
		
	
	
	a13f079575
	
	
	
		
			
			- Correct the header file of watchdog registers - Use ioremap_nocache() to access watchdog registers instead Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8022/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			571 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			571 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2011 Zhang, Keguang <keguang.zhang@gmail.com>
 | |
|  *
 | |
|  * Loongson 1 Watchdog Register Definitions.
 | |
|  *
 | |
|  * This program is free software; you can redistribute	it and/or modify it
 | |
|  * under  the terms of	the GNU General	 Public License as published by the
 | |
|  * Free Software Foundation;  either version 2 of the  License, or (at your
 | |
|  * option) any later version.
 | |
|  */
 | |
| 
 | |
| #ifndef __ASM_MACH_LOONGSON1_REGS_WDT_H
 | |
| #define __ASM_MACH_LOONGSON1_REGS_WDT_H
 | |
| 
 | |
| #define WDT_EN			0x0
 | |
| #define WDT_TIMER		0x4
 | |
| #define WDT_SET			0x8
 | |
| 
 | |
| #endif /* __ASM_MACH_LOONGSON1_REGS_WDT_H */
 |