mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-11-04 05:50:17 +00:00 
			
		
		
		
	mpc83xx: don't hang if watchdog configured on 8360, 832x
don't hang if watchdog configured on 8360, 832x The watchdog programming model is the same across all 83xx devices; make the code reflect that.
This commit is contained in:
		
							parent
							
								
									b700474785
								
							
						
					
					
						commit
						97c4b397dc
					
				@ -266,7 +266,6 @@ unsigned long get_tbclk(void)
 | 
			
		||||
#if defined(CONFIG_WATCHDOG)
 | 
			
		||||
void watchdog_reset (void)
 | 
			
		||||
{
 | 
			
		||||
#ifdef CONFIG_MPC834X
 | 
			
		||||
	int re_enable = disable_interrupts();
 | 
			
		||||
 | 
			
		||||
	/* Reset the 83xx watchdog */
 | 
			
		||||
@ -276,9 +275,6 @@ void watchdog_reset (void)
 | 
			
		||||
 | 
			
		||||
	if (re_enable)
 | 
			
		||||
		enable_interrupts ();
 | 
			
		||||
#else
 | 
			
		||||
	hang();
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user