summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAladyshev Konstantin <aladyshev@nicevt.ru>2012-12-18 23:01:14 +0400
committerMarc Jones <marcj303@gmail.com>2012-12-28 21:21:52 +0100
commitc94e8cf2e178c99290c6cd15a144874a3078bede (patch)
tree48e23bde9bf18729e2a1e12e690255e10af49c69
parent3d63b0a9656d5982dd0e9eef652c6cc1e8f8eaa3 (diff)
downloadcoreboot-c94e8cf2e178c99290c6cd15a144874a3078bede.tar.xz
Supermicro H8QGI: fix bus_sp5100[] clear in get_bus_conf.c
Fix little mistake in get_bus_conf code Change-Id: I8c09e501082caa0a20266b007c0744630a356de0 Signed-off-by: Aladyshev Konstantin <aladyshev@nicevt.ru> Reviewed-on: http://review.coreboot.org/2046 Tested-by: build bot (Jenkins) Reviewed-by: Siyuan Wang <wangsiyuanbuaa@gmail.com> Reviewed-by: Zheng Bao <zheng.bao@amd.com> Reviewed-by: Marc Jones <marcj303@gmail.com>
-rw-r--r--src/mainboard/supermicro/h8qgi/get_bus_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/h8qgi/get_bus_conf.c b/src/mainboard/supermicro/h8qgi/get_bus_conf.c
index 8c31cbf5e5..71a540fabf 100644
--- a/src/mainboard/supermicro/h8qgi/get_bus_conf.c
+++ b/src/mainboard/supermicro/h8qgi/get_bus_conf.c
@@ -79,7 +79,7 @@ void get_bus_conf(void)
sbdn_sp5100 = 0;
- for (i = 0; i < 0; i++) {
+ for (i = 0; i < ARRAY_SIZE(bus_sp5100); i++) {
bus_sp5100[i] = 0;
}
for (i = 0; i < ARRAY_SIZE(bus_sr5650); i++) {