]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/baytrail/valleyview.c
x86: baytrail: Support operation as an EFI payload
[u-boot] / arch / x86 / cpu / baytrail / valleyview.c
index 9915da5bd7d0beb73a5822b2243f6ee57243cad8..610e9d9b1d8a4237e02cf5e36b2c04f03d58c8bf 100644 (file)
@@ -7,6 +7,7 @@
 #include <common.h>
 #include <mmc.h>
 #include <pci_ids.h>
+#include <asm/irq.h>
 #include <asm/post.h>
 
 static struct pci_device_id mmc_supported[] = {
@@ -20,6 +21,7 @@ int cpu_mmc_init(bd_t *bis)
                            ARRAY_SIZE(mmc_supported));
 }
 
+#ifndef CONFIG_EFI_APP
 int arch_cpu_init(void)
 {
        int ret;
@@ -35,3 +37,11 @@ int arch_cpu_init(void)
 
        return 0;
 }
+
+int arch_misc_init(void)
+{
+       pirq_init();
+
+       return 0;
+}
+#endif