fix superiotool for NCT6776F
authorFlorian Zumbiehl <florz@florz.de>
Wed, 2 Nov 2011 08:46:34 +0000 (09:46 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Thu, 3 Nov 2011 12:57:46 +0000 (13:57 +0100)
commitd35906173ddef192d89532719fbdae29ed232f70
treefa75e83ddb5a36314e7ec8349c9c4a01b08fa0db
parentf8ed90332c5c51f04e4f7a06a5af3ecd58ffa39c
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@florz.de>
Reviewed-on: http://review.coreboot.org/391
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
util/superiotool/nuvoton.c