summaryrefslogtreecommitdiff
path: root/src/mainboard/Iwill
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/Iwill
parentb01fb94995a5d1fcd28bcbe7e6e509d69954c7c8 (diff)
downloadcoreboot-650b6d0b61087d979f18f57b64ede4ff9d1c56f6.tar.xz
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/Iwill')
-rw-r--r--src/mainboard/Iwill/DK8S2/Config.lb8
-rw-r--r--src/mainboard/Iwill/DK8X/Config.lb8
2 files changed, 14 insertions, 2 deletions
diff --git a/src/mainboard/Iwill/DK8S2/Config.lb b/src/mainboard/Iwill/DK8S2/Config.lb
index cc57d6397b..c974bdead1 100644
--- a/src/mainboard/Iwill/DK8S2/Config.lb
+++ b/src/mainboard/Iwill/DK8S2/Config.lb
@@ -3,6 +3,9 @@ uses HAVE_PIRQ_TABLE
uses USE_FALLBACK_IMAGE
uses HAVE_FALLBACK_BOOT
uses HAVE_HARD_RESET
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
uses IRQ_SLOT_COUNT
uses HAVE_OPTION_TABLE
uses CONFIG_MAX_CPUS
@@ -41,6 +44,10 @@ default HAVE_FALLBACK_BOOT=1
##
default HAVE_HARD_RESET=1
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+
##
## Build code to export a programmable irq routing table
##
@@ -149,7 +156,6 @@ driver mainboard.o
#object static_devices.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
-object reset.o
##
## Romcc output
diff --git a/src/mainboard/Iwill/DK8X/Config.lb b/src/mainboard/Iwill/DK8X/Config.lb
index cc57d6397b..c974bdead1 100644
--- a/src/mainboard/Iwill/DK8X/Config.lb
+++ b/src/mainboard/Iwill/DK8X/Config.lb
@@ -3,6 +3,9 @@ uses HAVE_PIRQ_TABLE
uses USE_FALLBACK_IMAGE
uses HAVE_FALLBACK_BOOT
uses HAVE_HARD_RESET
+uses HARD_RESET_BUS
+uses HARD_RESET_DEVICE
+uses HARD_RESET_FUNCTION
uses IRQ_SLOT_COUNT
uses HAVE_OPTION_TABLE
uses CONFIG_MAX_CPUS
@@ -41,6 +44,10 @@ default HAVE_FALLBACK_BOOT=1
##
default HAVE_HARD_RESET=1
+default HARD_RESET_BUS=1
+default HARD_RESET_DEVICE=4
+default HARD_RESET_FUNCTION=0
+
##
## Build code to export a programmable irq routing table
##
@@ -149,7 +156,6 @@ driver mainboard.o
#object static_devices.o
if HAVE_MP_TABLE object mptable.o end
if HAVE_PIRQ_TABLE object irq_tables.o end
-object reset.o
##
## Romcc output