summaryrefslogtreecommitdiff
path: root/util/superiotool/fintek.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-19 00:03:14 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-19 00:03:14 +0000
commitde24a0e58557ac7913e2f8174710f50e4697b1bd (patch)
treed09db121810e5c61fd12650defb033b9c2c0bed7 /util/superiotool/fintek.c
parentd754d2c6c4970e686d004ea4d39c5e6599abf46f (diff)
Use uint16_t and friends where appropriate (trivial).
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@2783 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/fintek.c')
-rw-r--r--util/superiotool/fintek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/superiotool/fintek.c b/util/superiotool/fintek.c
index f7baaf6989..c12954c7f9 100644
--- a/util/superiotool/fintek.c
+++ b/util/superiotool/fintek.c
@@ -20,7 +20,7 @@
#include "superiotool.h"
-void dump_fintek(unsigned short port, unsigned int did)
+void dump_fintek(uint16_t port, uint16_t did)
{
switch (did) {
case 0x0604:
@@ -89,9 +89,9 @@ void dump_fintek(unsigned short port, unsigned int did)
regval(port, 0xf6), regval(port, 0xf7), regval(port, 0xf8));
}
-void probe_idregs_fintek(unsigned short port)
+void probe_idregs_fintek(uint16_t port)
{
- unsigned int vid, did, success = 0;
+ uint16_t vid, did, success = 0;
/* Enable configuration sequence (Fintek uses this for example)
* Older ITE chips have the same enable sequence.