aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorRudolf Marek <r.marek@assembler.cz>2012-02-25 23:51:12 +0100
committerPeter Stuge <peter@stuge.se>2012-03-20 15:13:09 +0100
commit06253cd9a5742078386f355a06c0f13bebbcc5ce (patch)
tree07228b3b106b9edcbe7083d4fbaef8530c05ccdc /src/arch/x86/include
parent06c04299c1420fa94a1a53cc36c9d91a5e31a22a (diff)
Avoid using CPUID in SMBIOS tables. Check for CPUID otherwise claim 486 class cpu.
Change-Id: Ic7c4452a1b55bae0cefee118003540ec39ef9fd4 Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-on: http://review.coreboot.org/683 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/cpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/cpu.h b/src/arch/x86/include/arch/cpu.h
index 85357d744e..2dfcd72e95 100644
--- a/src/arch/x86/include/arch/cpu.h
+++ b/src/arch/x86/include/arch/cpu.h
@@ -109,6 +109,7 @@ static inline unsigned int cpuid_edx(unsigned int op)
#include <device/device.h>
int cpu_phys_address_size(void);
+int cpu_have_cpuid(void);
struct cpu_device_id {
unsigned vendor;