summaryrefslogtreecommitdiff
path: root/src/mainboard/tyan/s4880
diff options
context:
space:
mode:
authorLi-Ta Lo <ollie@lanl.gov>2004-01-12 20:00:43 +0000
committerLi-Ta Lo <ollie@lanl.gov>2004-01-12 20:00:43 +0000
commitf0721563b48ff7e2ad1bd7398da2747ec1a3b055 (patch)
tree2f8494d4680579cd7a21bc899a0f6011c97d64bb /src/mainboard/tyan/s4880
parent12eee5111f4a6ba87f48bb7db9c7d42f1ea77d07 (diff)
Tyan mainboard changes form YhLu
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1326 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/tyan/s4880')
-rw-r--r--src/mainboard/tyan/s4880/Config.lb4
-rw-r--r--src/mainboard/tyan/s4880/chip.h2
-rw-r--r--src/mainboard/tyan/s4880/mainboard.c10
3 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/tyan/s4880/Config.lb b/src/mainboard/tyan/s4880/Config.lb
index 48e2678c51..ccc4784935 100644
--- a/src/mainboard/tyan/s4880/Config.lb
+++ b/src/mainboard/tyan/s4880/Config.lb
@@ -15,7 +15,7 @@ uses ARCH
###
##object mainboard.o
config chip.h
-#register "fixup_scsi" = "1"
+register "fixup_scsi" = "1"
#register "fixup_vga" = "1"
@@ -125,7 +125,7 @@ makerule ./auto.E
end
makerule ./auto.inc
depends "./romcc ./auto.E"
- action "./romcc -O -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E"
+ action "./romcc -O2 -mcpu=k8 -o auto.inc --label-prefix=auto ./auto.E"
# action "./romcc -mcpu=k8 -O ./auto.E > auto.inc"
end
mainboardinit cpu/k8/enable_mmx_sse.inc
diff --git a/src/mainboard/tyan/s4880/chip.h b/src/mainboard/tyan/s4880/chip.h
index 47fdee86d1..807474992a 100644
--- a/src/mainboard/tyan/s4880/chip.h
+++ b/src/mainboard/tyan/s4880/chip.h
@@ -1,6 +1,6 @@
extern struct chip_control mainboard_tyan_s4880_control;
struct mainboard_tyan_s4880_config {
-// int fixup_scsi;
+ int fixup_scsi;
// int fixup_vga;
};
diff --git a/src/mainboard/tyan/s4880/mainboard.c b/src/mainboard/tyan/s4880/mainboard.c
index 2431595f19..2ed9eb9c2f 100644
--- a/src/mainboard/tyan/s4880/mainboard.c
+++ b/src/mainboard/tyan/s4880/mainboard.c
@@ -38,7 +38,7 @@ static void fixup_lsi_53c1030(struct device *pdev)
}
#endif
//extern static void lsi_scsi_init(struct device *dev);
-#if 0
+#if 1
static void print_pci_regs(struct device *dev)
{
uint8_t byte;
@@ -88,11 +88,11 @@ static void amd8111_enable_rom(void)
pci_write_config8(dev, 0x43, byte);
}
#endif
-#if 0
+#if 1
static void onboard_scsi_fixup(void)
{
struct device *dev;
-#if 0
+#if 1
unsigned char i,j,k;
for(i=0;i<=6;i++) {
@@ -154,8 +154,8 @@ enable(struct chip *chip, enum chip_pass pass)
// case CONF_PASS_PRE_PCI:
// case CONF_PASS_POST_PCI:
case CONF_PASS_PRE_BOOT:
-// if (conf->fixup_scsi)
-// onboard_scsi_fixup();
+ if (conf->fixup_scsi)
+ onboard_scsi_fixup();
// if (conf->fixup_vga)
// vga_fixup();
printk_debug("mainboard fixup pass %d done\r\n",