diff options
-rw-r--r-- | src/cpu/amd/agesa/family12/model_12_init.c | 4 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family14/model_14_init.c | 4 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family15tn/model_15_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/agesa/family16kb/model_16_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/family_10h-family_15h/model_10xxx_init.c | 4 | ||||
-rw-r--r-- | src/cpu/amd/pi/00630F01/model_15_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/pi/00660F01/model_15_init.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/pi/00730F01/model_16_init.c | 2 | ||||
-rw-r--r-- | src/include/cpu/amd/amdfam15.h | 2 | ||||
-rw-r--r-- | src/include/cpu/amd/amdfam16.h | 2 | ||||
-rw-r--r-- | src/soc/amd/stoneyridge/cpu.c | 2 |
11 files changed, 14 insertions, 14 deletions
diff --git a/src/cpu/amd/agesa/family12/model_12_init.c b/src/cpu/amd/agesa/family12/model_12_init.c index b4757c8baf..afdfb3b006 100644 --- a/src/cpu/amd/agesa/family12/model_12_init.c +++ b/src/cpu/amd/agesa/family12/model_12_init.c @@ -27,7 +27,7 @@ #include <cpu/amd/multicore.h> #include <cpu/amd/amdfam12.h> -#define MCI_STATUS 0x401 +#define MC0_STATUS 0x401 static void model_12_init(struct device *dev) { @@ -55,7 +55,7 @@ static void model_12_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 5; i++) { - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); } enable_cache(); diff --git a/src/cpu/amd/agesa/family14/model_14_init.c b/src/cpu/amd/agesa/family14/model_14_init.c index 1271a4eb51..257f81fd7a 100644 --- a/src/cpu/amd/agesa/family14/model_14_init.c +++ b/src/cpu/amd/agesa/family14/model_14_init.c @@ -28,7 +28,7 @@ #include <arch/acpi.h> #include <northbridge/amd/agesa/agesa_helper.h> -#define MCI_STATUS 0x401 +#define MC0_STATUS 0x401 static void model_14_init(struct device *dev) { @@ -78,7 +78,7 @@ static void model_14_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) { - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); } /* Enable the local CPU APICs */ diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c index 32dcd7b029..1e0375f23c 100644 --- a/src/cpu/amd/agesa/family15tn/model_15_init.c +++ b/src/cpu/amd/agesa/family15tn/model_15_init.c @@ -75,7 +75,7 @@ static void model_15_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) { - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); } /* Enable the local CPU APICs */ diff --git a/src/cpu/amd/agesa/family16kb/model_16_init.c b/src/cpu/amd/agesa/family16kb/model_16_init.c index 73d91e7edf..9909793874 100644 --- a/src/cpu/amd/agesa/family16kb/model_16_init.c +++ b/src/cpu/amd/agesa/family16kb/model_16_init.c @@ -73,7 +73,7 @@ static void model_16_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) { - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); } /* Enable the local CPU APICs */ diff --git a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c index 562a267757..61eb81393a 100644 --- a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c +++ b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c @@ -32,7 +32,7 @@ #include <cpu/amd/multicore.h> #include <cpu/amd/msr.h> -#define MCI_STATUS 0x401 +#define MC0_STATUS 0x401 static inline uint8_t is_gt_rev_d(void) { @@ -112,7 +112,7 @@ static void model_10xxx_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 5; i++) { - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); } enable_cache(); diff --git a/src/cpu/amd/pi/00630F01/model_15_init.c b/src/cpu/amd/pi/00630F01/model_15_init.c index 212d705966..592ca4f086 100644 --- a/src/cpu/amd/pi/00630F01/model_15_init.c +++ b/src/cpu/amd/pi/00630F01/model_15_init.c @@ -72,7 +72,7 @@ static void model_15_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); /* Enable the local CPU APICs */ setup_lapic(); diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c index 941c48f04c..24c2aea3d1 100644 --- a/src/cpu/amd/pi/00660F01/model_15_init.c +++ b/src/cpu/amd/pi/00660F01/model_15_init.c @@ -84,7 +84,7 @@ static void model_15_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); /* Enable the local CPU APICs */ diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c index 747cb2ed1f..b9e01852b8 100644 --- a/src/cpu/amd/pi/00730F01/model_16_init.c +++ b/src/cpu/amd/pi/00730F01/model_16_init.c @@ -69,7 +69,7 @@ static void model_16_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0; i < 6; i++) - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); /* Enable the local CPU APICs */ diff --git a/src/include/cpu/amd/amdfam15.h b/src/include/cpu/amd/amdfam15.h index 008d5da765..c28ec1304d 100644 --- a/src/include/cpu/amd/amdfam15.h +++ b/src/include/cpu/amd/amdfam15.h @@ -16,7 +16,7 @@ #ifndef CPU_AMD_FAM15_H #define CPU_AMD_FAM15_H -#define MCI_STATUS 0x00000401 +#define MC0_STATUS 0x00000401 #define MSR_SMM_BASE 0xC0010111 #define MSR_TSEG_BASE 0xC0010112 #define MSR_SMM_MASK 0xC0010113 diff --git a/src/include/cpu/amd/amdfam16.h b/src/include/cpu/amd/amdfam16.h index 861e518db0..8d8be83412 100644 --- a/src/include/cpu/amd/amdfam16.h +++ b/src/include/cpu/amd/amdfam16.h @@ -16,7 +16,7 @@ #ifndef CPU_AMD_FAM16_H #define CPU_AMD_FAM16_H -#define MCI_STATUS 0x00000401 +#define MC0_STATUS 0x00000401 #define HWCR_MSR 0xC0010015 #define NB_CFG_MSR 0xC001001f diff --git a/src/soc/amd/stoneyridge/cpu.c b/src/soc/amd/stoneyridge/cpu.c index 4dd371cdd3..628917485a 100644 --- a/src/soc/amd/stoneyridge/cpu.c +++ b/src/soc/amd/stoneyridge/cpu.c @@ -126,7 +126,7 @@ static void model_15_init(struct device *dev) msr.lo = 0; msr.hi = 0; for (i = 0 ; i < 6 ; i++) - wrmsr(MCI_STATUS + (i * 4), msr); + wrmsr(MC0_STATUS + (i * 4), msr); setup_lapic(); } |