This patch gets rid of all the implicit definition warnings for serengeti except get_nodes.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Marc Jones <marcj303@gmail.com>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3818 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Myles Watson 2008-12-18 18:24:11 +00:00
parent 845a2eba16
commit 43bb9cdddd
6 changed files with 12 additions and 1 deletions

View File

@ -317,6 +317,8 @@ int acpi_create_mcfg_mmconfig(acpi_mcfg_mmconfig_t *mmconfig, u32 base, u16 seg_
unsigned long acpi_create_srat_lapics(unsigned long current);
void acpi_create_srat(acpi_srat_t *srat);
void acpi_create_slit(acpi_slit_t *slit);
void acpi_create_hpet(acpi_hpet_t *hpet);
void acpi_create_mcfg(acpi_mcfg_t *mcfg);

View File

@ -435,6 +435,8 @@ static void wait_other_cpus_stop(struct bus *cpu_bus)
#if WAIT_BEFORE_CPUS_INIT==0
#define cpus_ready_for_init() do {} while(0)
#else
void cpus_ready_for_init(void);
#endif
#if HAVE_SMI_HANDLER

View File

@ -72,6 +72,10 @@ unsigned pci_find_next_capability(device_t dev, unsigned cap, unsigned last);
unsigned pci_find_capability(device_t dev, unsigned cap);
struct resource *pci_get_resource(struct device *dev, unsigned long index);
void pci_dev_set_subsystem(device_t dev, unsigned vendor, unsigned device);
void pci_dev_init(struct device *dev);
void pci_level_irq(unsigned char intNum);
void pci_assign_irqs(unsigned bus, unsigned slot,
const unsigned char pIntAtoD[4]);
#define PCI_IO_BRIDGE_ALIGN 4096
#define PCI_MEM_BRIDGE_ALIGN (1024*1024)

View File

@ -521,6 +521,8 @@ struct sys_info {
#ifdef __ROMCC__
static void soft_reset(void);
#else
void hard_reset(void);
#endif
static void wait_all_core0_mem_trained(struct sys_info *sysinfo)

View File

@ -11,7 +11,7 @@ void amd8111_enable(device_t dev)
unsigned index;
unsigned reg_old, reg;
/* See if we are on the behind the amd8111 pci bridge */
/* See if we are on the bus behind the amd8111 pci bridge */
bus_dev = dev->bus->dev;
if ((bus_dev->vendor == PCI_VENDOR_ID_AMD) &&
(bus_dev->device == PCI_DEVICE_ID_AMD_8111_PCI))

View File

@ -7,6 +7,7 @@
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <arch/io.h>
#include <delay.h>
#include "amd8111.h"