aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/tyan
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-03-24 14:10:45 +0000
committerStefan Reinauer <stepan@openbios.org>2004-03-24 14:10:45 +0000
commit650b6d0b61087d979f18f57b64ede4ff9d1c56f6 (patch)
treef6a99b836a5344bf610a738b945ec7e6a4527427 /src/mainboard/tyan
parentb01fb94995a5d1fcd28bcbe7e6e509d69954c7c8 (diff)
Further trimming freebios2 towards code reuse.
Unified AMD K8 reset function that can be customized via mainboard Config.lb git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1471 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan')
-rw-r--r--src/mainboard/tyan/s2850/Config.lb9
-rw-r--r--src/mainboard/tyan/s2880/Config.lb9
-rw-r--r--src/mainboard/tyan/s2881/Config.lb9
-rw-r--r--src/mainboard/tyan/s2882/Config.lb9
-rw-r--r--src/mainboard/tyan/s2885/Config.lb11
-rw-r--r--src/mainboard/tyan/s4880/Config.lb9
6 files changed, 49 insertions, 7 deletions
diff --git a/src/mainboard/tyan/s2850/Config.lb b/src/mainboard/tyan/s2850/Config.lb
index fe6f7e319e..ad189c9202 100644
--- a/src/mainboard/tyan/s2850/Config.lb
+++ b/src/mainboard/tyan/s2850/Config.lb
@@ -3,6 +3,9 @@ uses HAVE_PIRQ_TABLE
uses USE_FALLBACK_IMAGE
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
###
@@ -24,11 +27,15 @@ driver adaptec_scsi.o
driver promise_sata.o
driver intel_nic.o
driver broadcom_nic.o
-object reset.o
+#object reset.o
#object static_devices.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
#
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=2
+default HARD_RESET_FUNCTION=0
+#
arch i386 end
#cpu k8 end
#
diff --git a/src/mainboard/tyan/s2880/Config.lb b/src/mainboard/tyan/s2880/Config.lb
index 9c0b9e0a2f..275170ac9f 100644
--- a/src/mainboard/tyan/s2880/Config.lb
+++ b/src/mainboard/tyan/s2880/Config.lb
@@ -6,6 +6,9 @@ uses LB_CKS_RANGE_END
uses LB_CKS_LOC
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
###
@@ -33,10 +36,14 @@ driver mainboard.o
#driver adaptec_scsi.o
#driver promise_sata.o
#driver intel_nic.o
-object reset.o
+#object reset.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
#
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+#
arch i386 end
#
###
diff --git a/src/mainboard/tyan/s2881/Config.lb b/src/mainboard/tyan/s2881/Config.lb
index a89f1dbcf7..786391095a 100644
--- a/src/mainboard/tyan/s2881/Config.lb
+++ b/src/mainboard/tyan/s2881/Config.lb
@@ -6,6 +6,9 @@ uses LB_CKS_RANGE_END
uses LB_CKS_LOC
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
###
@@ -35,10 +38,14 @@ driver mainboard.o
#driver si_sata.o
#driver intel_nic.o
#driver broadcom_nic.o
-object reset.o
+#object reset.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
#
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+#
arch i386 end
#cpu k8 end
#
diff --git a/src/mainboard/tyan/s2882/Config.lb b/src/mainboard/tyan/s2882/Config.lb
index 45406d4ea4..c307568267 100644
--- a/src/mainboard/tyan/s2882/Config.lb
+++ b/src/mainboard/tyan/s2882/Config.lb
@@ -6,6 +6,9 @@ uses LB_CKS_RANGE_END
uses LB_CKS_LOC
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
###
@@ -34,10 +37,14 @@ driver mainboard.o
#driver si_sata.o
driver intel_nic.o
#driver broadcom_nic.o
-object reset.o
+#object reset.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
#
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+#
arch i386 end
#cpu k8 end
#
diff --git a/src/mainboard/tyan/s2885/Config.lb b/src/mainboard/tyan/s2885/Config.lb
index 7ff42d0189..c0b61145cb 100644
--- a/src/mainboard/tyan/s2885/Config.lb
+++ b/src/mainboard/tyan/s2885/Config.lb
@@ -6,6 +6,9 @@ uses LB_CKS_RANGE_END
uses LB_CKS_LOC
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
@@ -37,10 +40,14 @@ driver mainboard.o
#driver adaptec_scsi.o
#driver si_sata.o
#driver intel_nic.o
-object reset.o
+#object reset.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
-
+#
+default HARD_RESET_BUS=3
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+#
#
arch i386 end
diff --git a/src/mainboard/tyan/s4880/Config.lb b/src/mainboard/tyan/s4880/Config.lb
index 58e71b4668..69e647984f 100644
--- a/src/mainboard/tyan/s4880/Config.lb
+++ b/src/mainboard/tyan/s4880/Config.lb
@@ -6,6 +6,9 @@ uses LB_CKS_RANGE_END
uses LB_CKS_LOC
uses MAINBOARD
uses ARCH
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
#
#
###
@@ -34,10 +37,14 @@ driver mainboard.o
#driver adaptec_scsi.o
#driver si_sata.o
#driver intel_nic.o
-object reset.o
+#object reset.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
#
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+#
arch i386 end
#cpu k8 end
#