This patch gets rid of all the implicit definition warnings for serengeti except...
authorMyles Watson <mylesgw@gmail.com>
Thu, 18 Dec 2008 18:24:11 +0000 (18:24 +0000)
committerMyles Watson <mylesgw@gmail.com>
Thu, 18 Dec 2008 18:24:11 +0000 (18:24 +0000)
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

src/arch/i386/include/arch/acpi.h
src/cpu/x86/lapic/lapic_cpu_init.c
src/include/device/pci.h
src/northbridge/amd/amdk8/amdk8_f.h
src/southbridge/amd/amd8111/amd8111.c
src/southbridge/amd/amd8111/amd8111_nic.c

index 66b6f640743727e342084bd8625a75ec76ed47ac..0e628b4cb3220a69c33cdffcd7dd0c06c5bba92d 100644 (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);
index 033f789442a939f1d8d07c05467daa084c8dcca8..0fd31d0382e9e94b57fa153889776df7c9738d7e 100644 (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
index decc20d29bd97d2c4c87a5d8bb64c38b079dfb21..ad005cfe89701880c169d8902497827204d600c1 100644 (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)
index 1b9c7763a98f7cae7ac3f82560be12352d2c26d0..733041513eae8e588268a986254ee2307ff30361 100644 (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)
index f1a1862edb91774911e265af4c09c058169f15e3..d5536c4fc1b17e307b3e359b83051462a8e4f2c9 100644 (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)) 
index 241cc01622711cde5913f0ed7b15e1494352ddc9..d326d83ddafabb16bd15f35f5bc261563e36c5c9 100644 (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"