diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-03-11 21:34:27 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-03-11 21:34:27 +0000 |
commit | ed15220b87d298088a074747b24e212c23333e33 (patch) | |
tree | 08baf8485e130591af1edd889333f3cef998c01c /src/cpu/amd/model_10xxx | |
parent | bc259d09d342f09987c65290422009615a8287a7 (diff) |
Replace clear_memory with memset.
Replace set_init_ram_access with the call to set_var_mtrr.
Remove unused #include statments.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5201 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_10xxx')
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/model_10xxx_init.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index 822e362a74..c43887f380 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -421,7 +421,7 @@ static u32 init_cpus(u32 cpu_init_detectedx) */ //wait_till_sysinfo_in_ram(); - set_init_ram_access(); + set_var_mtrr(0, 0x00000000, CONFIG_RAMTOP, MTRR_TYPE_WRBACK); STOP_CAR_AND_CPU(); printk_debug("\nAP %02x should be halted but you are reading this....\n", apicid); diff --git a/src/cpu/amd/model_10xxx/model_10xxx_init.c b/src/cpu/amd/model_10xxx/model_10xxx_init.c index daf3eceaa4..6ef1f42471 100644 --- a/src/cpu/amd/model_10xxx/model_10xxx_init.c +++ b/src/cpu/amd/model_10xxx/model_10xxx_init.c @@ -34,7 +34,6 @@ #include <cpu/cpu.h> #include <cpu/x86/cache.h> #include <cpu/x86/mtrr.h> -#include <cpu/x86/mem.h> #include <cpu/amd/quadcore.h> #include <cpu/amd/model_10xxx_msr.h> |