remove ti_firewire.c, it only enable the bus master
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1845 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
84a8028349
commit
31ce35e8ab
|
@ -40,12 +40,8 @@ arch i386 end
|
|||
|
||||
driver mainboard.o
|
||||
|
||||
dir /drivers/si/3114
|
||||
|
||||
if HAVE_MP_TABLE object mptable.o end
|
||||
if HAVE_PIRQ_TABLE object irq_tables.o end
|
||||
#object reset.o
|
||||
|
||||
|
||||
##
|
||||
## Romcc output
|
||||
|
@ -124,7 +120,6 @@ mainboardinit cpu/x86/mmx/disable_mmx.inc
|
|||
##
|
||||
## Include the secondary Configuration files
|
||||
##
|
||||
dir /pc80
|
||||
|
||||
if CONFIG_CHIP_NAME
|
||||
config chip.h
|
||||
|
@ -161,12 +156,6 @@ chip northbridge/amd/amdk8/root_complex
|
|||
device pci 1.0 off end
|
||||
end
|
||||
device pci 1.0 on
|
||||
# chip drivers/generic/debug
|
||||
# device pnp 2.0 on end
|
||||
# device pnp 2.1 off end
|
||||
# device pnp 2.2 off end
|
||||
# device pnp 2.3 on end
|
||||
# end
|
||||
chip superio/winbond/w83627hf
|
||||
device pnp 2e.0 on # Floppy
|
||||
io 0x60 = 0x3f0
|
||||
|
@ -198,7 +187,7 @@ chip northbridge/amd/amdk8/root_complex
|
|||
io 0x60 = 0x220
|
||||
io 0x62 = 0x300
|
||||
irq 0x70 = 9
|
||||
end
|
||||
end
|
||||
device pnp 2e.8 off end # GPIO2
|
||||
device pnp 2e.9 off end # GPIO3
|
||||
device pnp 2e.a off end # ACPI
|
||||
|
@ -245,14 +234,7 @@ chip northbridge/amd/amdk8/root_complex
|
|||
|
||||
device pci 18.1 on end
|
||||
device pci 18.2 on end
|
||||
device pci 18.3 on
|
||||
# chip drivers/generic/debug
|
||||
# device pnp 1.0 on end
|
||||
# device pnp 1.1 off end
|
||||
# device pnp 1.2 off end
|
||||
# device pnp 1.3 on end
|
||||
# end
|
||||
end
|
||||
device pci 18.3 on end
|
||||
end
|
||||
|
||||
chip northbridge/amd/amdk8
|
||||
|
|
|
@ -64,7 +64,7 @@ default ROM_SIZE=524288
|
|||
##
|
||||
## FALLBACK_SIZE is the amount of the ROM the complete fallback image will use
|
||||
##
|
||||
default FALLBACK_SIZE=131072
|
||||
default FALLBACK_SIZE=262144
|
||||
|
||||
##
|
||||
## Build code for the fallback boot
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
/* Copyright 2003 Tyan */
|
||||
|
||||
/* Author: Yinghai Lu
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#include <delay.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <arch/io.h>
|
||||
|
||||
#include <console/console.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pci.h>
|
||||
#include <device/pci_ids.h>
|
||||
#include <device/pci_ops.h>
|
||||
|
||||
|
||||
static void ti_firewire_init(struct device *dev)
|
||||
{
|
||||
uint16_t word;
|
||||
|
||||
word = pci_read_config16(dev, 0x4);
|
||||
word |= ((1 << 2) |(1<<4)); // Command: 3--> 17
|
||||
pci_write_config16(dev, 0x4, word);
|
||||
|
||||
}
|
||||
|
||||
static struct device_operations ti_firewire_ops = {
|
||||
.read_resources = pci_dev_read_resources,
|
||||
.set_resources = pci_dev_set_resources,
|
||||
.enable_resources = pci_dev_enable_resources,
|
||||
.init = ti_firewire_init,
|
||||
.scan_bus = 0,
|
||||
};
|
||||
|
||||
static struct pci_driver ti_firewire_driver __pci_driver = {
|
||||
.ops = &ti_firewire_ops,
|
||||
.vendor = 0x104c,
|
||||
.device = 0x8023,
|
||||
};
|
||||
|
Loading…
Reference in New Issue