diff options
Diffstat (limited to 'src/mainboard/asus/kcma-d8')
-rw-r--r-- | src/mainboard/asus/kcma-d8/Makefile.inc | 16 | ||||
-rw-r--r-- | src/mainboard/asus/kcma-d8/resourcemap.c | 6 | ||||
-rw-r--r-- | src/mainboard/asus/kcma-d8/romstage.c | 1 |
3 files changed, 20 insertions, 3 deletions
diff --git a/src/mainboard/asus/kcma-d8/Makefile.inc b/src/mainboard/asus/kcma-d8/Makefile.inc new file mode 100644 index 0000000000..91d4b39c32 --- /dev/null +++ b/src/mainboard/asus/kcma-d8/Makefile.inc @@ -0,0 +1,16 @@ +# +# This file is part of the coreboot project. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# + +romstage-y += resourcemap.c + +ramstage-y += get_bus_conf.c diff --git a/src/mainboard/asus/kcma-d8/resourcemap.c b/src/mainboard/asus/kcma-d8/resourcemap.c index 5e66c56251..0edc3d1364 100644 --- a/src/mainboard/asus/kcma-d8/resourcemap.c +++ b/src/mainboard/asus/kcma-d8/resourcemap.c @@ -17,9 +17,11 @@ * GNU General Public License for more details. */ -#include <arch/cpu.h> +#include <arch/io.h> +#include <commonlib/helpers.h> +#include <northbridge/amd/amdfam10/amdfam10.h> -static void setup_mb_resource_map(void) +void setup_mb_resource_map(void) { static const unsigned int fam15h_register_values[] = { /* Careful set limit registers before base registers which contain the enables */ diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c index 12c0926f87..caff4dfd1c 100644 --- a/src/mainboard/asus/kcma-d8/romstage.c +++ b/src/mainboard/asus/kcma-d8/romstage.c @@ -46,7 +46,6 @@ #include <arch/early_variables.h> #include <cbmem.h> -#include "resourcemap.c" #include "cpu/amd/quadcore/quadcore.c" #define SERIAL_0_DEV PNP_DEV(0x2e, W83667HG_A_SP1) |