From a4fa5ee88c6702681c5d54da6b759479baa81a03 Mon Sep 17 00:00:00 2001 From: Myles Watson Date: Fri, 2 Apr 2010 20:14:21 +0000 Subject: Fix includes for showallroutes. Signed-off-by: Myles Watson Acked-by: Myles Watson git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5346 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdk8/amdk8.h | 2 +- src/northbridge/amd/amdk8/util.c | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'src/northbridge') diff --git a/src/northbridge/amd/amdk8/amdk8.h b/src/northbridge/amd/amdk8/amdk8.h index a77a9d8057..3f849c0c8a 100644 --- a/src/northbridge/amd/amdk8/amdk8.h +++ b/src/northbridge/amd/amdk8/amdk8.h @@ -8,7 +8,7 @@ #include "amdk8_pre_f.h" #endif -#ifndef __PRE_RAM__ +#ifndef __ROMCC__ void showallroutes(int level, device_t dev); #endif diff --git a/src/northbridge/amd/amdk8/util.c b/src/northbridge/amd/amdk8/util.c index ab4541790e..2e81d87f06 100644 --- a/src/northbridge/amd/amdk8/util.c +++ b/src/northbridge/amd/amdk8/util.c @@ -27,12 +27,10 @@ */ #ifndef __PRE_RAM__ #include -#include #include -#include #include -#include "amdk8.h" #endif +#include "amdk8.h" /* Function 1 */ /* the DRAM, MMIO,and PCIIO routing are 64-bit registers, hence the ending at -- cgit v1.2.3