diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-09 21:15:13 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-05-09 21:15:13 +0000 |
commit | 3d5bb236aa6147ce24d9618f2d482e76eefc58c6 (patch) | |
tree | e6769779f4f549224c3c39704a4fa98b12c335a4 /src/cpu/amd/model_10xxx | |
parent | bf9e5384d7c25be41d008d29c38b24155676acc0 (diff) |
Move includes to where they are needed. This allows to simplify
romstage.c files in mainboards.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5539 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/cpu/amd/model_10xxx')
-rw-r--r-- | src/cpu/amd/model_10xxx/defaults.h | 2 | ||||
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/amd/model_10xxx/defaults.h b/src/cpu/amd/model_10xxx/defaults.h index 98918ec312..78c46d4eaf 100644 --- a/src/cpu/amd/model_10xxx/defaults.h +++ b/src/cpu/amd/model_10xxx/defaults.h @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <northbridge/amd/amdmct/amddefs.h> +#include <cpu/amd/mtrr.h> /* * Default MSR and errata settings. diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index 3a86be296f..a64cdd8874 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -18,6 +18,12 @@ */ #include "defaults.h" +#include <stdlib.h> +#include <cpu/x86/lapic.h> +#include <cpu/x86/mtrr.h> +#include <northbridge/amd/amdfam10/amdfam10.h> +#include <northbridge/amd/amdht/AsPsDefs.h> +#include <northbridge/amd/amdht/porting.h> //it takes the CONFIG_ENABLE_APIC_EXT_ID and CONFIG_APIC_ID_OFFSET and CONFIG_LIFT_BSP_APIC_ID #ifndef SET_FIDVID |