aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/amd/picasso/cpu.c4
-rw-r--r--src/soc/amd/picasso/include/soc/cpu.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/cpu.c b/src/soc/amd/picasso/cpu.c
index c7e847d314..60446882d5 100644
--- a/src/soc/amd/picasso/cpu.c
+++ b/src/soc/amd/picasso/cpu.c
@@ -128,8 +128,8 @@ static struct device_operations cpu_dev_ops = {
static struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x810f80 },
- { X86_VENDOR_AMD, 0x810f81 },
- { X86_VENDOR_AMD, 0x820f01 },
+ { X86_VENDOR_AMD, PICASSO_CPUID },
+ { X86_VENDOR_AMD, RAVEN2_CPUID },
{ 0, 0 },
};
diff --git a/src/soc/amd/picasso/include/soc/cpu.h b/src/soc/amd/picasso/include/soc/cpu.h
index 2bcffdc320..c53829d5c8 100644
--- a/src/soc/amd/picasso/include/soc/cpu.h
+++ b/src/soc/amd/picasso/include/soc/cpu.h
@@ -23,4 +23,7 @@ void picasso_init_cpus(struct device *dev);
int get_cpu_count(void);
void check_mca(void);
+#define PICASSO_CPUID 0x00810f81
+#define RAVEN2_CPUID 0x00820f01
+
#endif /* __PICASSO_CPU_H__ */