summaryrefslogtreecommitdiffstats
path: root/src/soc/amd/picasso/cpu.c
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2019-12-10 21:50:10 -0700
committerFelix Held <felix-coreboot@felixheld.de>2020-03-29 15:33:20 +0000
commiteb30e1a9aa08a89c14631e29f8461b9b62b5d4fc (patch)
treeec2dbaaa04452d0cab5b72b7eeb6ae5412dff186 /src/soc/amd/picasso/cpu.c
parent8cb5c30c2a7e4cff1c1f12b0497ff269d3a929da (diff)
downloadcoreboot-eb30e1a9aa08a89c14631e29f8461b9b62b5d4fc.tar.gz
coreboot-eb30e1a9aa08a89c14631e29f8461b9b62b5d4fc.tar.bz2
coreboot-eb30e1a9aa08a89c14631e29f8461b9b62b5d4fc.zip
soc/amd/picasso: Add and use CPUID defines for Picasso and Raven2
Change-Id: I35a1c404ff2f381d3d6bf4f2e4bbbf5429db38c3 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1961485 Reviewed-on: https://chromium-review.googlesource.com/2060905 Reviewed-by: Raul E Rangel <rrangel@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/39885 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/soc/amd/picasso/cpu.c')
-rw-r--r--src/soc/amd/picasso/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/amd/picasso/cpu.c b/src/soc/amd/picasso/cpu.c
index c7e847d31476..60446882d5aa 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 },
};