]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/x86/cpu/qemu/qemu.c
x86: qemu: Implement PIRQ routing
[karo-tx-uboot.git] / arch / x86 / cpu / qemu / qemu.c
index 0f984768e9cb96b59075284c8918ec943235fc16..930d2b6c9d11f2e6d6be03c9db9d7875560d51a6 100644 (file)
@@ -5,6 +5,7 @@
  */
 
 #include <common.h>
+#include <asm/irq.h>
 #include <asm/post.h>
 #include <asm/processor.h>
 
@@ -35,3 +36,10 @@ void reset_cpu(ulong addr)
        /* cold reset */
        x86_full_reset();
 }
+
+int arch_misc_init(void)
+{
+       pirq_init();
+
+       return 0;
+}