summaryrefslogtreecommitdiff
path: root/util/superiotool/winbond.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-06-09 20:56:29 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2011-06-09 21:26:47 +0200
commitc55bcdecf70586ba575af403f26f92dbbbc05190 (patch)
tree533ce286d7706964ea4632c745f207e4b77c8f9e /util/superiotool/winbond.c
parent1b8068e24467d812752c71888c4880d3cac41cf8 (diff)
superiotool: Cosmetics and coding style fixes.
Change-Id: Iacda2a9e37635d5cffc5004caf588ef3e5e09b5e Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Reviewed-on: http://review.coreboot.org/18 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'util/superiotool/winbond.c')
-rw-r--r--util/superiotool/winbond.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/util/superiotool/winbond.c b/util/superiotool/winbond.c
index d29b87ff6e..a3c6547d50 100644
--- a/util/superiotool/winbond.c
+++ b/util/superiotool/winbond.c
@@ -749,22 +749,26 @@ void probe_idregs_winbond(uint16_t port)
enter_conf_mode_winbond_88(port);
probe_idregs_winbond_helper("(init=0x88) ", port);
exit_conf_mode_winbond_fintek_ite_8787(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_winbond_89(port);
probe_idregs_winbond_helper("(init=0x89) ", port);
exit_conf_mode_winbond_fintek_ite_8787(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_winbond_86(port);
probe_idregs_winbond_helper("(init=0x86,0x86) ", port);
exit_conf_mode_winbond_fintek_ite_8787(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_winbond_fintek_ite_8787(port);
probe_idregs_winbond_helper("(init=0x87,0x87) ", port);
exit_conf_mode_winbond_fintek_ite_8787(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
}
void print_winbond_chips(void)