summaryrefslogtreecommitdiff
path: root/util/superiotool/ite.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/ite.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/ite.c')
-rw-r--r--util/superiotool/ite.c21
1 files changed, 14 insertions, 7 deletions
diff --git a/util/superiotool/ite.c b/util/superiotool/ite.c
index 0e43614c02..c83d78830c 100644
--- a/util/superiotool/ite.c
+++ b/util/superiotool/ite.c
@@ -892,37 +892,44 @@ void probe_idregs_ite(uint16_t port)
enter_conf_mode_ite_legacy(port, initkey_it8661f);
probe_idregs_ite_helper("(init=legacy/it8661f) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_ite_legacy(port, initkey_it8671f);
probe_idregs_ite_helper("(init=legacy/it8671f) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
} else {
enter_conf_mode_ite(port);
probe_idregs_ite_helper("(init=standard) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_ite_it8502e(port);
probe_idregs_ite_helper("(init=it8502e) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_ite_it8761e(port);
probe_idregs_ite_helper("(init=it8761e) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_ite_it8228e(port);
probe_idregs_ite_helper("(init=it8228e) ", port);
exit_conf_mode_ite(port);
- if (chip_found_at_port) return;
+ if (chip_found_at_port)
+ return;
enter_conf_mode_winbond_fintek_ite_8787(port);
probe_idregs_ite_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;
}
}