summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-24 14:15:35 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-24 14:15:35 +0000
commit505322e48cf2b9f81bb8022a384872f9a890a619 (patch)
tree08aa73cf4a2838e9d11169631a2eeb3bfdd74a98 /src/superio
parent9970bfcb7b8ca0916757d4ffcfeba811a7ad4597 (diff)
downloadcoreboot-505322e48cf2b9f81bb8022a384872f9a890a619.tar.xz
slight changes to static initialization
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1027 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/NSC/pc87360/Config.lb1
-rw-r--r--src/superio/NSC/pc87360/superio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/NSC/pc87360/Config.lb b/src/superio/NSC/pc87360/Config.lb
index 320ff20dea..f62a567d61 100644
--- a/src/superio/NSC/pc87360/Config.lb
+++ b/src/superio/NSC/pc87360/Config.lb
@@ -1 +1,2 @@
+config chip.h
object superio.o
diff --git a/src/superio/NSC/pc87360/superio.c b/src/superio/NSC/pc87360/superio.c
index 9908fd8595..059f5163b0 100644
--- a/src/superio/NSC/pc87360/superio.c
+++ b/src/superio/NSC/pc87360/superio.c
@@ -17,7 +17,7 @@ void sio_enable(struct chip *chip, enum chip_pass pass)
struct superio_NSC_pc87360_config *conf = (struct superio_NSC_pc87360_config *)chip->chip_info;
switch (pass) {
- case CHIP_PRE_CONSOLE:
+ case CONF_PASS_PRE_CONSOLE:
/* Enable Super IO Chip */
pnp_output(0x07, 6); /* LD 6 = UART1 */
pnp_output(0x30, 0); /* Dectivate */