]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/cpu/baytrail/valleyview.c
x86: quark: Optimize MRC execution time
[u-boot] / arch / x86 / cpu / baytrail / valleyview.c
index a3e837d43e9cbbba4300de82f688bd8ccee0820f..4baaae62ff3ad315491cbf272120cdc83f23d9e1 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[] = {
@@ -16,11 +17,11 @@ static struct pci_device_id mmc_supported[] = {
 
 int cpu_mmc_init(bd_t *bis)
 {
-       printf("mmc init\n");
        return pci_mmc_init("ValleyView SDHCI", mmc_supported,
                            ARRAY_SIZE(mmc_supported));
 }
 
+#ifndef CONFIG_EFI_APP
 int arch_cpu_init(void)
 {
        int ret;
@@ -36,3 +37,12 @@ int arch_cpu_init(void)
 
        return 0;
 }
+
+int arch_misc_init(void)
+{
+       if (!ll_boot_init())
+               return 0;
+
+       return pirq_init();
+}
+#endif