diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-12 12:27:53 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-26 23:19:11 +0100 |
commit | 88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f (patch) | |
tree | 4e70ca05732a9682ba75ead9993e4e5ad6b11539 /src/cpu/amd | |
parent | 1c434ff2d6200777ec0f6f806ebe8bb45f939dc8 (diff) | |
download | coreboot-staging-88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f.zip coreboot-staging-88a67f0cc9d0bec08a6cfa5b1c3f4198fd98ab4f.tar.gz |
AMD boards (non-AGESA): Cleanup earlymtrr.c includes
Change-Id: I5f4bf9dbaf3470dc83d3e980bb6cab10801e15c1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4523
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Diffstat (limited to 'src/cpu/amd')
-rw-r--r-- | src/cpu/amd/car/post_cache_as_ram.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/Makefile.inc | 1 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 1 | ||||
-rw-r--r-- | src/cpu/amd/model_fxx/Makefile.inc | 2 |
4 files changed, 4 insertions, 2 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 3fe496e..3b3738c 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -4,9 +4,9 @@ #include <string.h> #include <arch/stages.h> #include <cpu/x86/mtrr.h> +#include <cpu/amd/mtrr.h> #include "cbmem.h" #include "cpu/amd/car/disable_cache_as_ram.c" -#include "cpu/x86/mtrr/earlymtrr.c" static inline void print_debug_pcar(const char *strval, uint32_t val) { diff --git a/src/cpu/amd/model_10xxx/Makefile.inc b/src/cpu/amd/model_10xxx/Makefile.inc index c78f640..c82a26e 100644 --- a/src/cpu/amd/model_10xxx/Makefile.inc +++ b/src/cpu/amd/model_10xxx/Makefile.inc @@ -1,3 +1,4 @@ +romstage-y += ../../x86/mtrr/earlymtrr.c ramstage-y += model_10xxx_init.c ramstage-y += processor_name.c diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index 3ebd7f2..ed009d7 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -25,7 +25,6 @@ #include <northbridge/amd/amdht/AsPsDefs.h> #include <northbridge/amd/amdht/porting.h> -#include <cpu/x86/mtrr/earlymtrr.c> #include <northbridge/amd/amdfam10/raminit_amdmct.c> #include <reset.h> diff --git a/src/cpu/amd/model_fxx/Makefile.inc b/src/cpu/amd/model_fxx/Makefile.inc index e016235..eb62640 100644 --- a/src/cpu/amd/model_fxx/Makefile.inc +++ b/src/cpu/amd/model_fxx/Makefile.inc @@ -1,3 +1,5 @@ +romstage-y += ../../x86/mtrr/earlymtrr.c + # no conditionals here. If you include this file from a socket, then you get all the binaries. ramstage-y += model_fxx_init.c ramstage-y += model_fxx_update_microcode.c |