summaryrefslogtreecommitdiff
path: root/src/mainboard/gigabyte/ma785gmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/gigabyte/ma785gmt')
-rw-r--r--src/mainboard/gigabyte/ma785gmt/get_bus_conf.c4
-rw-r--r--src/mainboard/gigabyte/ma785gmt/irq_tables.c1
-rw-r--r--src/mainboard/gigabyte/ma785gmt/mptable.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c b/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
index 3c4894085a..299393791f 100644
--- a/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
+++ b/src/mainboard/gigabyte/ma785gmt/get_bus_conf.c
@@ -24,7 +24,7 @@
/* Global variables for MB layouts and these will be shared by irqtable mptable
* and acpi_tables busnum is default.
*/
-u8 bus_rs780[11];
+static u8 bus_rs780[11];
u8 bus_sb700[2];
u32 apicid_sb700;
@@ -45,7 +45,7 @@ u32 hcdnx[] = {
0x20202020,
};
-u32 sbdn_rs780;
+static u32 sbdn_rs780;
u32 sbdn_sb700;
void get_bus_conf(void)
diff --git a/src/mainboard/gigabyte/ma785gmt/irq_tables.c b/src/mainboard/gigabyte/ma785gmt/irq_tables.c
index 526be4f4cd..83a701df43 100644
--- a/src/mainboard/gigabyte/ma785gmt/irq_tables.c
+++ b/src/mainboard/gigabyte/ma785gmt/irq_tables.c
@@ -40,7 +40,6 @@ static void write_pirq_info(struct irq_info *pirq_info, u8 bus, u8 devfn,
pirq_info->rfu = rfu;
}
-extern u8 bus_rs780[8];
extern u8 bus_sb700[2];
extern unsigned long sbdn_sb700;
diff --git a/src/mainboard/gigabyte/ma785gmt/mptable.c b/src/mainboard/gigabyte/ma785gmt/mptable.c
index e2b28900fa..4ea9e66913 100644
--- a/src/mainboard/gigabyte/ma785gmt/mptable.c
+++ b/src/mainboard/gigabyte/ma785gmt/mptable.c
@@ -20,12 +20,10 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u8 bus_rs780[11];
extern u8 bus_sb700[2];
extern u32 apicid_sb700;
-extern u32 sbdn_rs780;
extern u32 sbdn_sb700;
static void *smp_write_config_table(void *v)