summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:20:17 +0000
committerGreg Watson <jarrah@users.sourceforge.net>2003-07-23 18:20:17 +0000
commit2910a2b5454f8de76c281739ae84814a4a1b47e3 (patch)
tree22400e5302321cd0b5857c9973141e18ad7bc280 /src/superio
parentde085393ed0dc30e5d81e3efa6deec54b0624fb6 (diff)
downloadcoreboot-2910a2b5454f8de76c281739ae84814a4a1b47e3.tar.xz
static devices
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1009 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/NSC/pc97307/Config.lb1
-rw-r--r--src/superio/NSC/pc97307/superio.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/superio/NSC/pc97307/Config.lb b/src/superio/NSC/pc97307/Config.lb
index eac204154e..94a888e767 100644
--- a/src/superio/NSC/pc97307/Config.lb
+++ b/src/superio/NSC/pc97307/Config.lb
@@ -1 +1,2 @@
+config chip.h
object superio.c
diff --git a/src/superio/NSC/pc97307/superio.c b/src/superio/NSC/pc97307/superio.c
index 100fa146d9..1f7a3b1d98 100644
--- a/src/superio/NSC/pc97307/superio.c
+++ b/src/superio/NSC/pc97307/superio.c
@@ -17,7 +17,7 @@ void sio_enable(struct chip *chip, enum chip_pass pass)
struct superio_NSC_pc97307_config *conf = (struct superio_NSC_pc97307_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 */