cpu/amd: de-duplicate MSR include files
Change-Id: I8e01a4ab68b463efe02c27f589e0b4b719532eb5 Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: http://review.coreboot.org/12510 Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
baa1acde7b
commit
991f18475c
|
@ -9,7 +9,7 @@
|
|||
#include <pc80/mc146818rtc.h>
|
||||
#include <smp/spinlock.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/model_fxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/amd/model_fxx_rev.h>
|
||||
#include <cpu/amd/amdk8_sysconf.h>
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <cpu/amd/multicore.h>
|
||||
#ifdef __PRE_RAM__
|
||||
#include <cpu/amd/model_fxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#endif
|
||||
|
||||
//called by bus_cpu_scan too
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/multicore.h>
|
||||
#include <cpu/amd/model_10xxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
|
||||
#define MCI_STATUS 0x401
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <device/pci_ids.h>
|
||||
|
||||
#include <northbridge/amd/amdht/AsPsDefs.h>
|
||||
#include <cpu/amd/model_10xxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
|
||||
static struct monotonic_counter {
|
||||
int initialized;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <cpu/amd/multicore.h>
|
||||
#include <cpu/amd/model_fxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
|
||||
#if CONFIG_WAIT_BEFORE_CPUS_INIT
|
||||
void cpus_ready_for_init(void)
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#include <pc80/mc146818rtc.h>
|
||||
#include <smp/spinlock.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/model_10xxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/amd/model_10xxx_rev.h>
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include <arch/cpu.h>
|
||||
#include <cpu/amd/multicore.h>
|
||||
#ifdef __PRE_RAM__
|
||||
#include <cpu/amd/model_10xxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#endif
|
||||
|
||||
//called by bus_cpu_scan too
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <cpu/x86/msr.h>
|
||||
#include <cpu/x86/mtrr.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <cpu/amd/model_fxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/x86/smm.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#ifndef CPU_AMD_MODEL_FXX_MSR_H
|
||||
#define CPU_AMD_MODEL_FXX_MSR_H
|
||||
|
||||
#define SMM_BASE_MSR 0xc0010111
|
||||
#define SMM_ADDR_MSR 0xc0010112
|
||||
#define SMM_MASK_MSR 0xc0010113
|
||||
|
||||
#define HWCR_MSR 0xC0010015
|
||||
#define NB_CFG_MSR 0xC001001f
|
||||
#define LS_CFG_MSR 0xC0011020
|
||||
#define IC_CFG_MSR 0xC0011021
|
||||
#define DC_CFG_MSR 0xC0011022
|
||||
#define BU_CFG_MSR 0xC0011023
|
||||
|
||||
|
||||
#define CPU_ID_FEATURES_MSR 0xc0011004
|
||||
|
||||
/* D0 only */
|
||||
#define CPU_ID_HYPER_EXT_FEATURES 0xc001100d
|
||||
/* E0 only */
|
||||
#define LOGICAL_CPUS_NUM_MSR 0xc001100d
|
||||
|
||||
#define CPU_ID_EXT_FEATURES_MSR 0xc0011005
|
||||
|
||||
#endif /* CPU_AMD_MODEL_FXX_MSR_H */
|
|
@ -14,8 +14,8 @@
|
|||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef CPU_AMD_MODEL_10XXX_MSR_H
|
||||
#define CPU_AMD_MODEL_10XXX_MSR_H
|
||||
#ifndef CPU_AMD_MSR_H
|
||||
#define CPU_AMD_MSR_H
|
||||
|
||||
#include <cpu/x86/msr.h>
|
||||
|
||||
|
@ -42,4 +42,4 @@
|
|||
#define LOGICAL_CPUS_NUM_MSR 0xC001100d
|
||||
#define CPU_ID_EXT_FEATURES_MSR 0xC0011005
|
||||
|
||||
#endif /* CPU_AMD_MODEL_10XXX_MSR_H */
|
||||
#endif /* CPU_AMD_MSR_H */
|
|
@ -32,7 +32,7 @@
|
|||
#include <cpu/x86/cache.h>
|
||||
#include <cpu/amd/mtrr.h>
|
||||
#include <cpu/amd/amdfam10_sysconf.h>
|
||||
#include <cpu/amd/model_10xxx_msr.h>
|
||||
#include <cpu/amd/msr.h>
|
||||
#include <cpu/amd/family_10h-family_15h/ram_calc.h>
|
||||
|
||||
#if CONFIG_LOGICAL_CPUS
|
||||
|
|
Loading…
Reference in New Issue