Use uint16_t and friends where appropriate (trivial).
[coreboot.git] / util / superiotool / fintek.c
index f7baaf6989476c0df7a2da225598772781d8563a..c12954c7f9e330236e60c40fd55b0c5301d11993 100644 (file)
@@ -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.