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:
parent
845a2eba16
commit
43bb9cdddd
|
@ -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);
|
unsigned long acpi_create_srat_lapics(unsigned long current);
|
||||||
void acpi_create_srat(acpi_srat_t *srat);
|
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_hpet(acpi_hpet_t *hpet);
|
||||||
|
|
||||||
void acpi_create_mcfg(acpi_mcfg_t *mcfg);
|
void acpi_create_mcfg(acpi_mcfg_t *mcfg);
|
||||||
|
|
|
@ -435,6 +435,8 @@ static void wait_other_cpus_stop(struct bus *cpu_bus)
|
||||||
|
|
||||||
#if WAIT_BEFORE_CPUS_INIT==0
|
#if WAIT_BEFORE_CPUS_INIT==0
|
||||||
#define cpus_ready_for_init() do {} while(0)
|
#define cpus_ready_for_init() do {} while(0)
|
||||||
|
#else
|
||||||
|
void cpus_ready_for_init(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_SMI_HANDLER
|
#if HAVE_SMI_HANDLER
|
||||||
|
|
|
@ -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);
|
unsigned pci_find_capability(device_t dev, unsigned cap);
|
||||||
struct resource *pci_get_resource(struct device *dev, unsigned long index);
|
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_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_IO_BRIDGE_ALIGN 4096
|
||||||
#define PCI_MEM_BRIDGE_ALIGN (1024*1024)
|
#define PCI_MEM_BRIDGE_ALIGN (1024*1024)
|
||||||
|
|
|
@ -521,6 +521,8 @@ struct sys_info {
|
||||||
|
|
||||||
#ifdef __ROMCC__
|
#ifdef __ROMCC__
|
||||||
static void soft_reset(void);
|
static void soft_reset(void);
|
||||||
|
#else
|
||||||
|
void hard_reset(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void wait_all_core0_mem_trained(struct sys_info *sysinfo)
|
static void wait_all_core0_mem_trained(struct sys_info *sysinfo)
|
||||||
|
|
|
@ -11,7 +11,7 @@ void amd8111_enable(device_t dev)
|
||||||
unsigned index;
|
unsigned index;
|
||||||
unsigned reg_old, reg;
|
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;
|
bus_dev = dev->bus->dev;
|
||||||
if ((bus_dev->vendor == PCI_VENDOR_ID_AMD) &&
|
if ((bus_dev->vendor == PCI_VENDOR_ID_AMD) &&
|
||||||
(bus_dev->device == PCI_DEVICE_ID_AMD_8111_PCI))
|
(bus_dev->device == PCI_DEVICE_ID_AMD_8111_PCI))
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <device/pci_ops.h>
|
#include <device/pci_ops.h>
|
||||||
#include <arch/io.h>
|
#include <arch/io.h>
|
||||||
|
#include <delay.h>
|
||||||
#include "amd8111.h"
|
#include "amd8111.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue