Move arch timer workaround code and boot mode pin handling from setup-r8a7790.c to setup-rcar-gen2.c. With this in place the same code can be used on other R-Car Generation 2 devices such as r8a7791. Signed-off-by: Magnus Damm <damm@opensource.se> [horms+renesas@verge.net.au trivial rebase of board-lager.c for introduction of lager_add_standard_devices()] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			183 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			183 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __ASM_RCAR_GEN2_H__
 | 
						|
#define __ASM_RCAR_GEN2_H__
 | 
						|
 | 
						|
void rcar_gen2_timer_init(void);
 | 
						|
#define MD(nr) BIT(nr)
 | 
						|
u32 rcar_gen2_read_mode_pins(void);
 | 
						|
 | 
						|
#endif /* __ASM_RCAR_GEN2_H__ */
 |