summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/xip/p9_xip_image.h
diff options
context:
space:
mode:
authorPrachi Gupta <pragupta@us.ibm.com>2016-07-12 11:05:19 -0500
committerSachin Gupta <sgupta2m@in.ibm.com>2017-02-02 23:41:25 -0500
commit45d93b050d4233a596cb1beddf2f70f2c19326fe (patch)
tree9150038d161a0b6c798419e3b4769294d33118c2 /src/import/chips/p9/xip/p9_xip_image.h
parentec0caeeb0d414fa307fd0893c6bdb74959129eb6 (diff)
downloadtalos-sbe-45d93b050d4233a596cb1beddf2f70f2c19326fe.tar.gz
talos-sbe-45d93b050d4233a596cb1beddf2f70f2c19326fe.zip
Add build_tag to xip image header
When releasing an image to FW, we would like to keep track of which release tag was used to build this image. Later on, that release tag can be used to rebuild the same image. Change-Id: I734b9a642e1b1c0a63a1cc25ab9c61beb35b25f3 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26930 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26932 Reviewed-by: Hostboot Team <hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Diffstat (limited to 'src/import/chips/p9/xip/p9_xip_image.h')
-rw-r--r--src/import/chips/p9/xip/p9_xip_image.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h
index e25de0bd..97f21d35 100644
--- a/src/import/chips/p9/xip/p9_xip_image.h
+++ b/src/import/chips/p9/xip/p9_xip_image.h
@@ -391,8 +391,11 @@ typedef struct
/// Build time generated by `date +%H%M`, e.g., 0756
uint32_t iv_buildTime;
+ /// Build tag, generated when releasing this image to fw
+ char iv_buildTag[16];
+
/// Reserved for future expansion
- uint32_t iv_reserved32[5];
+ uint32_t iv_reserved32;
//////////////////////////////////////////////////////////////////////
// Other Information - 1-byte aligned; 8 entries
@@ -422,7 +425,6 @@ typedef struct
/// Reserved for future expansion
char iv_reservedChar[8];
-
} P9XipHeader;
OpenPOWER on IntegriCloud