mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-30 19:48:19 +00:00 
			
		
		
		
	Renesas R8A7740 is CPU with Cortex-A9. This supports the basic register definition and GPIO. Signed-off-by: Hideyuki Sano <hideyuki.sano.dn@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
		
			
				
	
	
		
			19 lines
		
	
	
		
			429 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			429 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __ASM_MACH_IRQS_H
 | |
| #define __ASM_MACH_IRQS_H
 | |
| 
 | |
| #define NR_IRQS         1024
 | |
| 
 | |
| /* GIC */
 | |
| #define gic_spi(nr)		((nr) + 32)
 | |
| 
 | |
| /* INTCA */
 | |
| #define evt2irq(evt)		(((evt) >> 5) - 16)
 | |
| #define irq2evt(irq)		(((irq) + 16) << 5)
 | |
| 
 | |
| /* INTCS */
 | |
| #define INTCS_VECT_BASE		0x2200
 | |
| #define INTCS_VECT(n, vect)	INTC_VECT((n), INTCS_VECT_BASE + (vect))
 | |
| #define intcs_evt2irq(evt)	evt2irq(INTCS_VECT_BASE + (evt))
 | |
| 
 | |
| #endif /* __ASM_MACH_IRQS_H */
 |