upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
429 B
19 lines
429 B
13 years ago
|
#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 */
|