]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/irq.h
x86: broadwell: Add a pinctrl driver
[u-boot] / arch / x86 / include / asm / irq.h
index 6697da3b859124d0bf69e00471e006b12180ba47..5b9e6737634e69ed3044fb037306b331eabf297c 100644 (file)
@@ -56,23 +56,10 @@ struct pirq_routing {
 #define PIRQ_BITMAP            0xdef8
 
 /**
- * cpu_irq_init() - Initialize CPU IRQ routing
+ * irq_router_common_init() - Perform common x86 interrupt init
  *
- * This initializes some platform-specific registers related to IRQ routing,
- * like configuring internal PCI devices to use which PCI interrupt pin,
- * and which PCI interrupt pin is mapped to which PIRQ line. Note on some
- * platforms, such IRQ routing might be hard-coded thus cannot configure.
+ * This creates the PIRQ routing table and routes the IRQs
  */
-void cpu_irq_init(void);
-
-/**
- * pirq_init() - Initialize platform PIRQ routing
- *
- * This initializes the PIRQ routing on the platform and configures all PCI
- * devices' interrupt line register to a working IRQ number on the 8259 PIC.
- *
- * @return 0 if OK, -ve on error
- */
-int pirq_init(void);
+int irq_router_common_init(struct udevice *dev);
 
 #endif /* _ARCH_IRQ_H_ */