soc/amd/picasso: Separate CPUID defs into new header
Move CPUID definitions out of msr.h into new cpuid.h header. BUG=b:155307433 BRANCH=Zork Change-Id: I2ed5e0a5a6dbdb38fce8bf3e769f680330718653 Signed-off-by: Jason Glenesk <jason.glenesk@amd.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48533 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
parent
61624b2d2d
commit
498015d62f
|
@ -0,0 +1,17 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
/* This file applies to AMD64 products.
|
||||
* The definitions come from the AMD64 Programmers Manual vol2
|
||||
* Revision 3.30 and/or the device's BKDG.
|
||||
*/
|
||||
|
||||
#ifndef CPU_AMD_CPUID_H
|
||||
#define CPU_AMD_CPUID_H
|
||||
|
||||
#define CPUID_EXT_PM 0x80000007
|
||||
#define CPUID_MODEL 1
|
||||
#define CPUID_EBX_CORE_ID 0x8000001E
|
||||
#define CPUID_EBX_THREADS_SHIFT 8
|
||||
#define CPUID_EBX_THREADS_MASK (0xFF << CPUID_EBX_THREADS_SHIFT)
|
||||
|
||||
#endif /* CPU_AMD_CPUID_H */
|
|
@ -10,11 +10,6 @@
|
|||
|
||||
#include <cpu/x86/msr.h>
|
||||
|
||||
#define CPUID_EXT_PM 0x80000007
|
||||
#define CPUID_MODEL 1
|
||||
#define CPUID_EBX_CORE_ID 0x8000001E
|
||||
#define CPUID_EBX_THREADS_SHIFT 8
|
||||
#define CPUID_EBX_THREADS_MASK (0xFF << CPUID_EBX_THREADS_SHIFT)
|
||||
#define MC4_MISC0 0x00000413
|
||||
#define MC4_MISC1 0xC0000408
|
||||
#define MC4_MISC2 0xC0000409
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include <device/pci_ops.h>
|
||||
#include <arch/ioapic.h>
|
||||
#include <arch/smp/mpspec.h>
|
||||
#include <cpu/amd/cpuid.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cbmem.h>
|
||||
|
|
Loading…
Reference in New Issue