diff options
author | Myles Watson <mylesgw@gmail.com> | 2010-04-02 20:14:21 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2010-04-02 20:14:21 +0000 |
commit | a4fa5ee88c6702681c5d54da6b759479baa81a03 (patch) | |
tree | b3cc1d7f00e45929e45ce744e58668a8ae679e6d | |
parent | 7355c7590bfd55f5bb15a5ca06acd841ece3b24a (diff) | |
download | coreboot-a4fa5ee88c6702681c5d54da6b759479baa81a03.tar.xz |
Fix includes for showallroutes.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5346 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/northbridge/amd/amdk8/amdk8.h | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdk8/util.c | 4 |
2 files changed, 2 insertions, 4 deletions
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 <console/console.h> -#include <string.h> #include <device/pci.h> -#include <cpu/amd/amdk8_sysconf.h> #include <device/pci_ops.h> -#include "amdk8.h" #endif +#include "amdk8.h" /* Function 1 */ /* the DRAM, MMIO,and PCIIO routing are 64-bit registers, hence the ending at |