]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/irq.h
x86: irq: Remove chipset specific irq router drivers
[u-boot] / arch / x86 / include / asm / irq.h
index 5b9e6737634e69ed3044fb037306b331eabf297c..ad95bb49275e9063cec9151280e572a01f473c89 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _ARCH_IRQ_H_
@@ -34,6 +33,8 @@ enum pirq_config {
  *             IRQ N is available to be routed
  * @lb_bdf:    irq router's PCI bus/device/function number encoding
  * @ibase:     IBASE register block base address
+ * @actl_8bit: ACTL register width is 8-bit (for ICH series chipset)
+ * @actl_addr: ACTL register offset
  */
 struct irq_router {
        int config;
@@ -41,6 +42,8 @@ struct irq_router {
        u16 irq_mask;
        u32 bdf;
        u32 ibase;
+       bool actl_8bit;
+       int actl_addr;
 };
 
 struct pirq_routing {
@@ -55,11 +58,4 @@ struct pirq_routing {
 
 #define PIRQ_BITMAP            0xdef8
 
-/**
- * irq_router_common_init() - Perform common x86 interrupt init
- *
- * This creates the PIRQ routing table and routes the IRQs
- */
-int irq_router_common_init(struct udevice *dev);
-
 #endif /* _ARCH_IRQ_H_ */