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>
This commit is contained in:
Martin Roth 2019-12-10 21:50:10 -07:00 committed by Felix Held
parent 8cb5c30c2a
commit eb30e1a9aa
2 changed files with 5 additions and 2 deletions

View File

@ -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 },
};

View File

@ -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__ */