diff options
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/fidvid.c | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 5 | ||||
-rw-r--r-- | src/cpu/amd/quadcore/quadcore.c | 2 |
4 files changed, 10 insertions, 1 deletions
diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index 58d38cd603..4a1398a4d3 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -3,7 +3,9 @@ */ #include <string.h> #include <arch/stages.h> +#include <cpu/x86/mtrr.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/fidvid.c b/src/cpu/amd/model_10xxx/fidvid.c index cba7c2a908..c155cac8f7 100644 --- a/src/cpu/amd/model_10xxx/fidvid.c +++ b/src/cpu/amd/model_10xxx/fidvid.c @@ -18,7 +18,7 @@ */ #if SET_FIDVID == 1 -#include "../../../northbridge/amd/amdht/AsPsDefs.h" +#include <northbridge/amd/amdht/AsPsDefs.h> #define SET_FIDVID_DEBUG 1 diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index a64cdd8874..48a32f8e26 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -25,6 +25,9 @@ #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> + //it takes the CONFIG_ENABLE_APIC_EXT_ID and CONFIG_APIC_ID_OFFSET and CONFIG_LIFT_BSP_APIC_ID #ifndef SET_FIDVID #define SET_FIDVID 1 @@ -976,3 +979,5 @@ static void finalize_node_setup(struct sys_info *sysinfo) } #endif } + +#include "fidvid.c" diff --git a/src/cpu/amd/quadcore/quadcore.c b/src/cpu/amd/quadcore/quadcore.c index 142a270125..cb256c4d7d 100644 --- a/src/cpu/amd/quadcore/quadcore.c +++ b/src/cpu/amd/quadcore/quadcore.c @@ -18,6 +18,8 @@ */ #include <console/console.h> +#include <pc80/mc146818rtc_early.c> +#include <northbridge/amd/amdht/ht_wrapper.c> #ifndef SET_NB_CFG_54 #define SET_NB_CFG_54 1 |