diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/tyan/s2885/Config.lb | 22 | ||||
-rw-r--r-- | src/mainboard/tyan/s2885/Options.lb | 2 | ||||
-rw-r--r-- | src/mainboard/tyan/s2885/ti_firewire.c | 43 |
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, -}; - |