]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/microcode.h
x86: Move common PCH code into a common place
[u-boot] / arch / x86 / include / asm / microcode.h
index 67f32cc38facf209c399884248cf7faad29180d6..29bf06088973fdde911e84ec9855e17616a5f422 100644 (file)
@@ -9,6 +9,9 @@
 
 #ifndef __ASSEMBLY__
 
+/* This is a declaration for ucode_base in start.S */
+extern u32 ucode_base;
+
 /**
  * microcode_update_intel() - Apply microcode updates
  *
  * not updates were found, -EINVAL if an update was invalid
  */
 int microcode_update_intel(void);
+
+/**
+ * microcode_read_rev() - Read the microcode version
+ *
+ * This reads the microcode version of the currently running CPU
+ *
+ * @return microcode version number
+ */
+int microcode_read_rev(void);
 #endif /* __ASSEMBLY__ */
 
 #endif