summaryrefslogtreecommitdiff
path: root/util/superiotool/ite.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-28 15:45:43 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-28 15:45:43 +0000
commitafe83092020d37d1b8629b3b92f9179e925e72fe (patch)
tree417b1e7a9720742ef6ad231f2970e377f491c158 /util/superiotool/ite.c
parent945045b1ea380f8224bee426cb91b897562df1c8 (diff)
downloadcoreboot-afe83092020d37d1b8629b3b92f9179e925e72fe.tar.xz
Random minor fixes. Use svn revision as superiotool version number.
Make the -V output more informative. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2814 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/ite.c')
-rw-r--r--util/superiotool/ite.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 3fe7190207..e44460c065 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -1,5 +1,5 @@
/*
- * This file is part of the LinuxBIOS project.
+ * This file is part of the superiotool project.
*
* Copyright (C) 2007 Carl-Daniel Hailfinger
* Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
@@ -261,7 +261,7 @@ static void exit_conf_mode_ite(uint16_t port)
regwrite(port, 0x02, 0x02);
}
-static void probe_idregs_ite_helper(uint16_t port)
+static void probe_idregs_ite_helper(const char *init, uint16_t port)
{
uint16_t id, chipver;
@@ -270,7 +270,7 @@ static void probe_idregs_ite_helper(uint16_t port)
chipver = regval(port, CHIP_VERSION_REG) & 0x0f; /* Only bits 3..0 */
if (superio_unknown(reg_table, id)) {
- no_superio_found(port);
+ no_superio_found("ITE", init, port);
exit_conf_mode_ite(port);
return;
}
@@ -285,11 +285,11 @@ static void probe_idregs_ite_helper(uint16_t port)
void probe_idregs_ite(uint16_t port)
{
enter_conf_mode_ite(port);
- probe_idregs_ite_helper(port);
+ probe_idregs_ite_helper("(init=0x87,0x01,0x55,0x55/0xaa) ", port);
exit_conf_mode_ite(port);
enter_conf_mode_winbond_fintek_ite_8787(port);
- probe_idregs_ite_helper(port);
+ probe_idregs_ite_helper("(init=0x87,0x87) ", port);
exit_conf_mode_winbond_fintek_ite_8787(port);
}