diff options
author | Martin Peschke <mpeschke@de.ibm.com> | 2016-01-27 18:35:16 +0100 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-02-22 11:39:29 -0600 |
commit | 866dadb76840695ae2db6c12746d7c1e0f2d9a4d (patch) | |
tree | 46efbc9813e7d6906ffcba2e54931ec30cb1ecf1 /src/import/chips/p9/xip | |
parent | 94af99101a98561e8b16edb11f4ff07126ff5b62 (diff) | |
download | talos-hostboot-866dadb76840695ae2db6c12746d7c1e0f2d9a4d.tar.gz talos-hostboot-866dadb76840695ae2db6c12746d7c1e0f2d9a4d.zip |
P9-XIP: fix compile warnings
The ekb build flow won't succeed without fixing these compile warnings,
which hinted at some valid potential problems.
Change-Id: I2824da4b59d8ffa3c5ae46d02bb1231a8ac10604
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/23681
Tested-by: Jenkins Server
Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com>
Reviewed-by: Claus Michael Olsen <cmolsen@us.ibm.com>
Reviewed-by: Martin Peschke <mpeschke@de.ibm.com>
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/24284
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.c b/src/import/chips/p9/xip/p9_xip_image.c index e47987be2..4f0cc67f0 100644 --- a/src/import/chips/p9/xip/p9_xip_image.c +++ b/src/import/chips/p9/xip/p9_xip_image.c @@ -2980,7 +2980,7 @@ p9_xip_translate_header(P9XipHeader* o_dest, const P9XipHeader* i_src) o_dest->iv_kernelAddr = xipRevLe64(i_src->iv_kernelAddr); o_dest->iv_linkAddress = xipRevLe64(i_src->iv_linkAddress); - for (i = 0; i < 5; i++) + for (i = 0; i < 3; i++) { o_dest->iv_reserved64[i] = 0; } |