From e9de1e2609dfeab0b638b1e8facd642a88428745 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 7 Apr 2010 15:30:11 +0000 Subject: move amd K8/Fam10 "bus detection" function prototypes to a common place. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c | 2 +- src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mainboard/gigabyte/ga_2761gxdk') diff --git a/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c b/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c index 74e7f109c1..0b85340948 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c @@ -66,7 +66,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/gigabyte/ga_2761gxdk/irq_tables.c b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c index 0b3b407dcb..aa4ef6034e 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c +++ b/src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c @@ -55,7 +55,7 @@ static void write_pirq_info(struct irq_info *pirq_info, uint8_t bus, uint8_t dev extern unsigned char bus_isa; extern unsigned char bus_sis966[8]; //1 -extern void get_bus_conf(void); + unsigned long write_pirq_routing_table(unsigned long addr) { @@ -133,7 +133,6 @@ unsigned long write_pirq_routing_table(unsigned long addr) PINTH = IRQ7 */ - int i; uint8_t reg[8]={0x41,0x42,0x43,0x44,0x60,0x61,0x62,0x63}; uint8_t irq[8]={0x0A,0X0B,0X0,0X0a,0X0B,0X05,0X0,0X07}; -- cgit v1.2.3