Author: myles Date: Fri Apr 2 22:14:21 2010 New Revision: 5346 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5346
Log: Fix includes for showallroutes.
Signed-off-by: Myles Watson mylesgw@gmail.com Acked-by: Myles Watson mylesgw@gmail.com
Modified: trunk/src/northbridge/amd/amdk8/amdk8.h trunk/src/northbridge/amd/amdk8/util.c
Modified: trunk/src/northbridge/amd/amdk8/amdk8.h ============================================================================== --- trunk/src/northbridge/amd/amdk8/amdk8.h Fri Apr 2 18:30:25 2010 (r5345) +++ trunk/src/northbridge/amd/amdk8/amdk8.h Fri Apr 2 22:14:21 2010 (r5346) @@ -8,7 +8,7 @@ #include "amdk8_pre_f.h" #endif
-#ifndef __PRE_RAM__ +#ifndef __ROMCC__ void showallroutes(int level, device_t dev); #endif
Modified: trunk/src/northbridge/amd/amdk8/util.c ============================================================================== --- trunk/src/northbridge/amd/amdk8/util.c Fri Apr 2 18:30:25 2010 (r5345) +++ trunk/src/northbridge/amd/amdk8/util.c Fri Apr 2 22:14:21 2010 (r5346) @@ -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