aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/kcma-d8/resourcemap.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-03 11:38:37 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-01-04 17:20:08 +0000
commita2cfe9e90001fe11f7c7653c9917ea75dd082333 (patch)
treeb84bfda6b4278f37a38f57d3313128ea575843f2 /src/mainboard/asus/kcma-d8/resourcemap.c
parentd482c7dace772278d988682e94247e3801587ff7 (diff)
amdfam10 boards: Add Makefiles and fix resourcemap.c
Also remove global ramstage-y += get_bus_conf.c, this is specific to amdfam10. Change-Id: I49b604ebff6bcfe85518b2c3896ab798c3c7878d Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/30629 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus/kcma-d8/resourcemap.c')
-rw-r--r--src/mainboard/asus/kcma-d8/resourcemap.c6
1 files changed, 4 insertions, 2 deletions
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 */