summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/asus/kcma-d8/get_bus_conf.c4
-rw-r--r--src/mainboard/asus/kcma-d8/irq_tables.c2
-rw-r--r--src/mainboard/asus/kcma-d8/mptable.c2
-rw-r--r--src/mainboard/asus/kgpe-d16/get_bus_conf.c4
-rw-r--r--src/mainboard/asus/kgpe-d16/irq_tables.c2
-rw-r--r--src/mainboard/asus/kgpe-d16/mptable.c2
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c2
-rw-r--r--src/mainboard/supermicro/h8scm_fam10/mptable.c1
8 files changed, 5 insertions, 14 deletions
diff --git a/src/mainboard/asus/kcma-d8/get_bus_conf.c b/src/mainboard/asus/kcma-d8/get_bus_conf.c
index c6cce56095..63fb342596 100644
--- a/src/mainboard/asus/kcma-d8/get_bus_conf.c
+++ b/src/mainboard/asus/kcma-d8/get_bus_conf.c
@@ -25,7 +25,7 @@
/* Global variables for MB layouts and these will be shared by irqtable mptable
* and acpi_tables busnum is default.
*/
-u8 bus_sr5650[14];
+static u8 bus_sr5650[14];
u8 bus_sp5100[2];
u32 apicid_sp5100;
@@ -47,7 +47,7 @@ u32 hcdnx[] = {
};
-u32 sbdn_sr5650;
+static u32 sbdn_sr5650;
u32 sbdn_sp5100;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/kcma-d8/irq_tables.c b/src/mainboard/asus/kcma-d8/irq_tables.c
index f5e005a627..f0284ddd6d 100644
--- a/src/mainboard/asus/kcma-d8/irq_tables.c
+++ b/src/mainboard/asus/kcma-d8/irq_tables.c
@@ -60,10 +60,8 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
pirq_info->rfu = rfu;
}
-extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2];
extern u32 sbdn_sp5100;
-extern u32 sbdn_sr5650;
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/asus/kcma-d8/mptable.c b/src/mainboard/asus/kcma-d8/mptable.c
index 786f0b3746..d4c173b616 100644
--- a/src/mainboard/asus/kcma-d8/mptable.c
+++ b/src/mainboard/asus/kcma-d8/mptable.c
@@ -21,12 +21,10 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2];
extern u32 apicid_sp5100;
-extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;
diff --git a/src/mainboard/asus/kgpe-d16/get_bus_conf.c b/src/mainboard/asus/kgpe-d16/get_bus_conf.c
index c6cce56095..63fb342596 100644
--- a/src/mainboard/asus/kgpe-d16/get_bus_conf.c
+++ b/src/mainboard/asus/kgpe-d16/get_bus_conf.c
@@ -25,7 +25,7 @@
/* Global variables for MB layouts and these will be shared by irqtable mptable
* and acpi_tables busnum is default.
*/
-u8 bus_sr5650[14];
+static u8 bus_sr5650[14];
u8 bus_sp5100[2];
u32 apicid_sp5100;
@@ -47,7 +47,7 @@ u32 hcdnx[] = {
};
-u32 sbdn_sr5650;
+static u32 sbdn_sr5650;
u32 sbdn_sp5100;
void get_bus_conf(void)
diff --git a/src/mainboard/asus/kgpe-d16/irq_tables.c b/src/mainboard/asus/kgpe-d16/irq_tables.c
index f5e005a627..f0284ddd6d 100644
--- a/src/mainboard/asus/kgpe-d16/irq_tables.c
+++ b/src/mainboard/asus/kgpe-d16/irq_tables.c
@@ -60,10 +60,8 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
pirq_info->rfu = rfu;
}
-extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2];
extern u32 sbdn_sp5100;
-extern u32 sbdn_sr5650;
unsigned long write_pirq_routing_table(unsigned long addr)
{
diff --git a/src/mainboard/asus/kgpe-d16/mptable.c b/src/mainboard/asus/kgpe-d16/mptable.c
index 706a66bcbb..291ea37ac5 100644
--- a/src/mainboard/asus/kgpe-d16/mptable.c
+++ b/src/mainboard/asus/kgpe-d16/mptable.c
@@ -21,12 +21,10 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u8 bus_sr5650[14];
extern u8 bus_sp5100[2];
extern u32 apicid_sp5100;
-extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;
diff --git a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
index cfa646b575..43995534e9 100644
--- a/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8scm_fam10/get_bus_conf.c
@@ -46,7 +46,7 @@ u32 hcdnx[] = {
};
-u32 sbdn_sr5650;
+static u32 sbdn_sr5650;
u32 sbdn_sp5100;
void get_bus_conf(void)
diff --git a/src/mainboard/supermicro/h8scm_fam10/mptable.c b/src/mainboard/supermicro/h8scm_fam10/mptable.c
index db4dea7492..3e6ef3a61d 100644
--- a/src/mainboard/supermicro/h8scm_fam10/mptable.c
+++ b/src/mainboard/supermicro/h8scm_fam10/mptable.c
@@ -25,7 +25,6 @@ extern u8 bus_sp5100[2];
extern u32 apicid_sp5100;
-extern u32 sbdn_sr5650;
extern u32 sbdn_sp5100;