diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-07 15:30:11 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-07 15:30:11 +0000 |
commit | e9de1e2609dfeab0b638b1e8facd642a88428745 (patch) | |
tree | 3e6b7a06e081ee57e2893f2bd3af08634b22ccec /src/mainboard/gigabyte/ga_2761gxdk | |
parent | 135a966d34123cbc4ab5959f92e5364651c1ad55 (diff) |
move amd K8/Fam10 "bus detection" function prototypes to a common place.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5370 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/gigabyte/ga_2761gxdk')
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/get_bus_conf.c | 2 | ||||
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/irq_tables.c | 3 |
2 files changed, 2 insertions, 3 deletions
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}; |