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
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 41f2a9b..938613e 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -187,7 +187,7 @@
{EOT}
};
-void dump_ite(unsigned short port, unsigned short id)
+void dump_ite(uint16_t port, uint16_t id)
{
int i;
@@ -211,9 +211,9 @@
}
}
-void probe_idregs_ite(unsigned short port)
+void probe_idregs_ite(uint16_t port)
{
- unsigned int id, chipver;
+ uint16_t id, chipver;
/* Enable configuration sequence (ITE uses this for newer IT87[012]x)
* IT871[01] uses 0x87, 0x87 -> fintek detection should handle it