summaryrefslogtreecommitdiff
path: root/src/cpu/amd/agesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd/agesa')
-rw-r--r--src/cpu/amd/agesa/family14/Kconfig1
-rw-r--r--src/cpu/amd/agesa/family14/model_14_init.c2
-rw-r--r--src/cpu/amd/agesa/family15tn/Kconfig1
-rw-r--r--src/cpu/amd/agesa/family15tn/model_15_init.c4
-rw-r--r--src/cpu/amd/agesa/family16kb/Kconfig1
-rw-r--r--src/cpu/amd/agesa/family16kb/model_16_init.c4
6 files changed, 5 insertions, 8 deletions
diff --git a/src/cpu/amd/agesa/family14/Kconfig b/src/cpu/amd/agesa/family14/Kconfig
index e617c19c8a..103903fc1e 100644
--- a/src/cpu/amd/agesa/family14/Kconfig
+++ b/src/cpu/amd/agesa/family14/Kconfig
@@ -3,7 +3,6 @@
config CPU_AMD_AGESA_FAMILY14
bool
select X86_AMD_FIXED_MTRRS
- select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY14
diff --git a/src/cpu/amd/agesa/family14/model_14_init.c b/src/cpu/amd/agesa/family14/model_14_init.c
index 9539c3deef..78234b663e 100644
--- a/src/cpu/amd/agesa/family14/model_14_init.c
+++ b/src/cpu/amd/agesa/family14/model_14_init.c
@@ -54,7 +54,7 @@ static void model_14_init(struct device *dev)
restore_mtrr();
x86_mtrr_check();
- x86_enable_cache();
+ enable_cache();
/* zero the machine check error status registers */
mca_clear_status();
diff --git a/src/cpu/amd/agesa/family15tn/Kconfig b/src/cpu/amd/agesa/family15tn/Kconfig
index 68fd82cd6e..8c52e9a9b6 100644
--- a/src/cpu/amd/agesa/family15tn/Kconfig
+++ b/src/cpu/amd/agesa/family15tn/Kconfig
@@ -4,7 +4,6 @@ config CPU_AMD_AGESA_FAMILY15_TN
bool
select IDS_OPTIONS_HOOKED_UP
select X86_AMD_FIXED_MTRRS
- select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY15_TN
diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c
index 9d4da761c6..245cdf34f9 100644
--- a/src/cpu/amd/agesa/family15tn/model_15_init.c
+++ b/src/cpu/amd/agesa/family15tn/model_15_init.c
@@ -25,7 +25,7 @@ static void model_15_init(struct device *dev)
u32 siblings;
#endif
- //x86_enable_cache();
+ //enable_cache();
//amd_setup_mtrrs();
//x86_mtrr_check();
disable_cache();
@@ -53,7 +53,7 @@ static void model_15_init(struct device *dev)
restore_mtrr();
x86_mtrr_check();
- x86_enable_cache();
+ enable_cache();
/* zero the machine check error status registers */
mca_clear_status();
diff --git a/src/cpu/amd/agesa/family16kb/Kconfig b/src/cpu/amd/agesa/family16kb/Kconfig
index ee568ece65..e41ddece4d 100644
--- a/src/cpu/amd/agesa/family16kb/Kconfig
+++ b/src/cpu/amd/agesa/family16kb/Kconfig
@@ -3,7 +3,6 @@
config CPU_AMD_AGESA_FAMILY16_KB
bool
select X86_AMD_FIXED_MTRRS
- select CPU_X86_CACHE_HELPER
if CPU_AMD_AGESA_FAMILY16_KB
diff --git a/src/cpu/amd/agesa/family16kb/model_16_init.c b/src/cpu/amd/agesa/family16kb/model_16_init.c
index 9fadc7e3e3..c86f8acdef 100644
--- a/src/cpu/amd/agesa/family16kb/model_16_init.c
+++ b/src/cpu/amd/agesa/family16kb/model_16_init.c
@@ -23,7 +23,7 @@ static void model_16_init(struct device *dev)
u32 siblings;
#endif
- //x86_enable_cache();
+ //enable_cache();
//amd_setup_mtrrs();
//x86_mtrr_check();
disable_cache();
@@ -51,7 +51,7 @@ static void model_16_init(struct device *dev)
restore_mtrr();
x86_mtrr_check();
- x86_enable_cache();
+ enable_cache();
/* zero the machine check error status registers */
mca_clear_status();