Add constants for fast path resume copying
[coreboot.git] / util / superiotool / ali.c
index a23ffcc9fc07c9bf426d403792451c2d7b17001f..9111fa2281f630f914e496b1f3a678a2af7a28b6 100644 (file)
@@ -60,13 +60,13 @@ static const struct superio_registers reg_table[] = {
 
 static void enter_conf_mode_ali(uint16_t port)
 {
-       outb(0x51, port);
-       outb(0x23, port);
+       OUTB(0x51, port);
+       OUTB(0x23, port);
 }
 
 static void exit_conf_mode_ali(uint16_t port)
 {
-       outb(0xbb, port);
+       OUTB(0xbb, port);
 }
 
 void probe_idregs_ali(uint16_t port)
@@ -95,7 +95,7 @@ void probe_idregs_ali(uint16_t port)
               get_superio_name(reg_table, id), id, rev, port);
        chip_found = 1;
 
-       dump_superio("ALi", reg_table, port, id);
+       dump_superio("ALi", reg_table, port, id, LDN_SEL);
 
        exit_conf_mode_ali(port);
 }