summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2005-01-07 04:50:33 +0000
committerLi-Ta Lo <ollie@lanl.gov>2005-01-07 04:50:33 +0000
commit31ce35e8ab42cd051c660ed752febc89632e92c6 (patch)
treea9cd9157ad6d4cc8db7d3a7a225cc5ec513d393b /src/mainboard/tyan
parent84a8028349c022523ca9daaf3beae92952bf5b2d (diff)
downloadcoreboot-31ce35e8ab42cd051c660ed752febc89632e92c6.tar.xz
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
Diffstat (limited to 'src/mainboard/tyan')
-rw-r--r--src/mainboard/tyan/s2885/Config.lb22
-rw-r--r--src/mainboard/tyan/s2885/Options.lb2
-rw-r--r--src/mainboard/tyan/s2885/ti_firewire.c43
3 files changed, 3 insertions, 64 deletions
diff --git a/src/mainboard/tyan/s2885/Config.lb b/src/mainboard/tyan/s2885/Config.lb
index 18d86f66fb..0a198638f8 100644
--- a/src/mainboard/tyan/s2885/Config.lb
+++ b/src/mainboard/tyan/s2885/Config.lb
@@ -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
diff --git a/src/mainboard/tyan/s2885/Options.lb b/src/mainboard/tyan/s2885/Options.lb
index 0c7c689407..7b0e792651 100644
--- a/src/mainboard/tyan/s2885/Options.lb
+++ b/src/mainboard/tyan/s2885/Options.lb
@@ -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
diff --git a/src/mainboard/tyan/s2885/ti_firewire.c b/src/mainboard/tyan/s2885/ti_firewire.c
deleted file mode 100644
index 12c4c0d0f9..0000000000
--- a/src/mainboard/tyan/s2885/ti_firewire.c
+++ /dev/null
@@ -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,
-};
-