summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/fdt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arm/include/fdt.h b/sys/arm/include/fdt.h
index 3672dfb..c7290ac 100644
--- a/sys/arm/include/fdt.h
+++ b/sys/arm/include/fdt.h
@@ -44,6 +44,9 @@
/* Max interrupt number */
#define FDT_INTR_MAX NIRQ
+/* Map phandle/intpin pair to global IRQ number */
+#define FDT_MAP_IRQ(node, pin) (pin)
+
/*
* Bus space tag. XXX endianess info needs to be derived from the blob.
*/
OpenPOWER on IntegriCloud