x86: Record the CPU details when starting each core
[u-boot.git] / arch / x86 / cpu / intel_common / microcode.c
index 3054fabfde6a4fe3775c4b50f186479c5fa922b3..daf0d69494a14b6e7d52d041d6864eb8c6606d85 100644 (file)
@@ -64,8 +64,12 @@ static int microcode_decode_node(const void *blob, int node,
        return 0;
 }
 
-static inline uint32_t microcode_read_rev(void)
+int microcode_read_rev(void)
 {
+       /* Quark does not have microcode MSRs */
+#ifdef CONFIG_INTEL_QUARK
+       return 0;
+#else
        /*
         * Some Intel CPUs can be very finicky about the CPUID sequence used.
         * So this is implemented in assembly so that it works reliably.
@@ -90,6 +94,7 @@ static inline uint32_t microcode_read_rev(void)
        );
 
        return high;
+#endif
 }
 
 static void microcode_read_cpu(struct microcode_update *cpu)
This page took 0.029041 seconds and 4 git commands to generate.