[coreboot] Patch set updated for coreboot: d05adc2 fix superiotool for NCT6776F

Florian Zumbiehl gerrit at coreboot.org
Wed Nov 2 09:58:43 CET 2011


Florian Zumbiehl just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/391

-gerrit

commit d05adc204c1b1090c4ebf4c2fde3a94415d2cf56
Author: Florian Zumbiehl <florz at florz.de>
Date:   Wed Nov 2 09:46:34 2011 +0100

    fix superiotool for NCT6776F
    
    The current code exits config mode of the NCT6776F immediately after
    detection, so the register dump shows all 0xffs. This patch adds code to
    re-enter config mode for the register dump so that the register contents
    can be read.
    
    Change-Id: I4ad0c108b6411a665e31f55dea4b91ca77d1a5f7
    Signed-off-by: Florian Zumbiehl <florz at florz.de>
---
 util/superiotool/nuvoton.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/util/superiotool/nuvoton.c b/util/superiotool/nuvoton.c
index 6a1a75c..ed2eabc 100644
--- a/util/superiotool/nuvoton.c
+++ b/util/superiotool/nuvoton.c
@@ -255,7 +255,9 @@ void probe_idregs_nuvoton(uint16_t port)
 		printf("Found Nuvoton %s (id=0x%02x) at 0x%x\n",
 		       get_superio_name(reg_table, chip_id), chip_id, port);
 		chip_found = 1;
+		enter_conf_mode_winbond_fintek_ite_8787(port);
 		dump_superio("Nuvoton", reg_table, port, chip_id, LDN_SEL);
+		exit_conf_mode_winbond_fintek_ite_8787(port);
 		return;
 	}
 




More information about the coreboot mailing list