summaryrefslogtreecommitdiff
path: root/src/mainboard/msi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/msi')
-rw-r--r--src/mainboard/msi/ms7135/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms7135/irq_tables.c2
-rw-r--r--src/mainboard/msi/ms7135/mptable.c2
-rw-r--r--src/mainboard/msi/ms7260/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms7260/irq_tables.c2
-rw-r--r--src/mainboard/msi/ms7260/mptable.c2
-rw-r--r--src/mainboard/msi/ms9185/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms9185/irq_tables.c2
-rw-r--r--src/mainboard/msi/ms9185/mptable.c2
-rw-r--r--src/mainboard/msi/ms9282/get_bus_conf.c2
-rw-r--r--src/mainboard/msi/ms9282/irq_tables.c2
-rw-r--r--src/mainboard/msi/ms9282/mptable.c2
-rw-r--r--src/mainboard/msi/ms9652_fam10/acpi_tables.c2
-rw-r--r--src/mainboard/msi/ms9652_fam10/irq_tables.c2
-rw-r--r--src/mainboard/msi/ms9652_fam10/mptable.c2
15 files changed, 15 insertions, 15 deletions
diff --git a/src/mainboard/msi/ms7135/get_bus_conf.c b/src/mainboard/msi/ms7135/get_bus_conf.c
index 04b0ccdf87..ae7a7f1a03 100644
--- a/src/mainboard/msi/ms7135/get_bus_conf.c
+++ b/src/mainboard/msi/ms7135/get_bus_conf.c
@@ -51,7 +51,7 @@ unsigned hcdnx[] = { //HT Chain device num, actually it is unit id base of ever
};
unsigned bus_type[256];
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/msi/ms7135/irq_tables.c b/src/mainboard/msi/ms7135/irq_tables.c
index d870eb236d..2f213adab0 100644
--- a/src/mainboard/msi/ms7135/irq_tables.c
+++ b/src/mainboard/msi/ms7135/irq_tables.c
@@ -37,7 +37,7 @@
extern unsigned char bus_isa;
extern unsigned char bus_ck804[6];
-extern void get_bus_conf(void);
+
/**
* Add one line to IRQ table.
diff --git a/src/mainboard/msi/ms7135/mptable.c b/src/mainboard/msi/ms7135/mptable.c
index 79d08e14f6..ec318c6066 100644
--- a/src/mainboard/msi/ms7135/mptable.c
+++ b/src/mainboard/msi/ms7135/mptable.c
@@ -36,7 +36,7 @@ extern unsigned apicid_ck804;
extern unsigned bus_type[256];
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/msi/ms7260/get_bus_conf.c b/src/mainboard/msi/ms7260/get_bus_conf.c
index cfbc125299..6f4e198785 100644
--- a/src/mainboard/msi/ms7260/get_bus_conf.c
+++ b/src/mainboard/msi/ms7260/get_bus_conf.c
@@ -67,7 +67,7 @@ unsigned hcdnx[] = {
unsigned bus_type[256];
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/msi/ms7260/irq_tables.c b/src/mainboard/msi/ms7260/irq_tables.c
index f930b9eddb..345b0fac29 100644
--- a/src/mainboard/msi/ms7260/irq_tables.c
+++ b/src/mainboard/msi/ms7260/irq_tables.c
@@ -49,7 +49,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus,
extern unsigned char bus_isa;
extern unsigned char bus_mcp55[8]; // 1
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/msi/ms7260/mptable.c b/src/mainboard/msi/ms7260/mptable.c
index 7dad26c852..b6491385f6 100644
--- a/src/mainboard/msi/ms7260/mptable.c
+++ b/src/mainboard/msi/ms7260/mptable.c
@@ -31,7 +31,7 @@ extern unsigned char bus_mcp55[8]; // 1
extern unsigned apicid_mcp55;
extern unsigned bus_type[256];
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/msi/ms9185/get_bus_conf.c b/src/mainboard/msi/ms9185/get_bus_conf.c
index b6718a4323..a94acdeb19 100644
--- a/src/mainboard/msi/ms9185/get_bus_conf.c
+++ b/src/mainboard/msi/ms9185/get_bus_conf.c
@@ -62,7 +62,7 @@ static unsigned hcdnx[] =
// 0x20202020,
};
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/msi/ms9185/irq_tables.c b/src/mainboard/msi/ms9185/irq_tables.c
index 64832d6f87..b5d74d2392 100644
--- a/src/mainboard/msi/ms9185/irq_tables.c
+++ b/src/mainboard/msi/ms9185/irq_tables.c
@@ -58,7 +58,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
pirq_info->rfu = rfu;
}
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/msi/ms9185/mptable.c b/src/mainboard/msi/ms9185/mptable.c
index 5ec6f30459..838cfc3eed 100644
--- a/src/mainboard/msi/ms9185/mptable.c
+++ b/src/mainboard/msi/ms9185/mptable.c
@@ -38,7 +38,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/msi/ms9282/get_bus_conf.c b/src/mainboard/msi/ms9282/get_bus_conf.c
index a1326b84dd..5b4ee487c1 100644
--- a/src/mainboard/msi/ms9282/get_bus_conf.c
+++ b/src/mainboard/msi/ms9282/get_bus_conf.c
@@ -64,7 +64,7 @@ unsigned hcdnx[] =
};
-extern void get_sblk_pci1234(void);
+
static unsigned get_bus_conf_done = 0;
diff --git a/src/mainboard/msi/ms9282/irq_tables.c b/src/mainboard/msi/ms9282/irq_tables.c
index aedeab8c20..dbd68f081f 100644
--- a/src/mainboard/msi/ms9282/irq_tables.c
+++ b/src/mainboard/msi/ms9282/irq_tables.c
@@ -55,7 +55,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
pirq_info->rfu = rfu;
}
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/msi/ms9282/mptable.c b/src/mainboard/msi/ms9282/mptable.c
index f8a3195614..baa71c1302 100644
--- a/src/mainboard/msi/ms9282/mptable.c
+++ b/src/mainboard/msi/ms9282/mptable.c
@@ -32,7 +32,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{
diff --git a/src/mainboard/msi/ms9652_fam10/acpi_tables.c b/src/mainboard/msi/ms9652_fam10/acpi_tables.c
index 63812bdc34..a387408e1b 100644
--- a/src/mainboard/msi/ms9652_fam10/acpi_tables.c
+++ b/src/mainboard/msi/ms9652_fam10/acpi_tables.c
@@ -49,7 +49,7 @@ unsigned long acpi_fill_madt(unsigned long current)
struct mb_sysconf_t *m;
//extern unsigned char bus_mcp55[8];
//extern unsigned apicid_mcp55;
- extern void get_bus_conf(void);
+
unsigned sbdn;
struct resource *res;
device_t dev;
diff --git a/src/mainboard/msi/ms9652_fam10/irq_tables.c b/src/mainboard/msi/ms9652_fam10/irq_tables.c
index d888c836e4..bb14f3310b 100644
--- a/src/mainboard/msi/ms9652_fam10/irq_tables.c
+++ b/src/mainboard/msi/ms9652_fam10/irq_tables.c
@@ -52,7 +52,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev
pirq_info->rfu = rfu;
}
-extern void get_bus_conf(void);
+
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/msi/ms9652_fam10/mptable.c b/src/mainboard/msi/ms9652_fam10/mptable.c
index 89ab4cf82d..c0a7e6e2ce 100644
--- a/src/mainboard/msi/ms9652_fam10/mptable.c
+++ b/src/mainboard/msi/ms9652_fam10/mptable.c
@@ -29,7 +29,7 @@
#include "mb_sysconf.h"
-extern void get_bus_conf(void);
+
static void *smp_write_config_table(void *v)
{