summaryrefslogtreecommitdiff
path: root/src/mainboard/avalue/eax-785e
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/avalue/eax-785e')
-rw-r--r--src/mainboard/avalue/eax-785e/get_bus_conf.c4
-rw-r--r--src/mainboard/avalue/eax-785e/irq_tables.c1
-rw-r--r--src/mainboard/avalue/eax-785e/mptable.c2
3 files changed, 2 insertions, 5 deletions
diff --git a/src/mainboard/avalue/eax-785e/get_bus_conf.c b/src/mainboard/avalue/eax-785e/get_bus_conf.c
index ce663a52b2..e0d89b5f1e 100644
--- a/src/mainboard/avalue/eax-785e/get_bus_conf.c
+++ b/src/mainboard/avalue/eax-785e/get_bus_conf.c
@@ -23,7 +23,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_sb800[6];
u32 apicid_sb800;
@@ -45,7 +45,7 @@ u32 hcdnx[] = {
};
-u32 sbdn_rs780;
+static u32 sbdn_rs780;
u32 sbdn_sb800;
void get_bus_conf(void)
diff --git a/src/mainboard/avalue/eax-785e/irq_tables.c b/src/mainboard/avalue/eax-785e/irq_tables.c
index b0b8af88eb..b194b41b89 100644
--- a/src/mainboard/avalue/eax-785e/irq_tables.c
+++ b/src/mainboard/avalue/eax-785e/irq_tables.c
@@ -39,7 +39,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_sb800[6];
extern unsigned long sbdn_sb800;
diff --git a/src/mainboard/avalue/eax-785e/mptable.c b/src/mainboard/avalue/eax-785e/mptable.c
index 2d39f1cb78..d3af6ec17a 100644
--- a/src/mainboard/avalue/eax-785e/mptable.c
+++ b/src/mainboard/avalue/eax-785e/mptable.c
@@ -20,10 +20,8 @@
#include <stdint.h>
#include <cpu/amd/amdfam10_sysconf.h>
-extern u8 bus_rs780[11];
extern u8 bus_sb800[6];
extern u32 apicid_sb800;
-extern u32 sbdn_rs780;
extern u32 sbdn_sb800;
u8 intr_data[] = {