Fix includes for showallroutes.
authorMyles Watson <mylesgw@gmail.com>
Fri, 2 Apr 2010 20:14:21 +0000 (20:14 +0000)
committerMyles Watson <mylesgw@gmail.com>
Fri, 2 Apr 2010 20:14:21 +0000 (20:14 +0000)
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

src/northbridge/amd/amdk8/amdk8.h
src/northbridge/amd/amdk8/util.c

index a77a9d805749da6d0e24b5e15ae036d615f00073..3f849c0c8aa21738cff008cdb029d2d1c152e8ba 100644 (file)
@@ -8,7 +8,7 @@
         #include "amdk8_pre_f.h"
 #endif
 
-#ifndef __PRE_RAM__
+#ifndef __ROMCC__
 void showallroutes(int level, device_t dev);
 #endif
 
index ab4541790e8042906cae8b71cde08db4e49d65e1..2e81d87f066cc9359550ff79b5e94f3179e1c89b 100644 (file)
  */
 #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