summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraravnair-in <aravindnair@in.ibm.com>2018-02-28 08:23:22 -0600
committerhostboot <hostboot@us.ibm.com>2018-03-22 14:05:38 -0500
commitb8b36cd661ab00c4cd1b1e4437ac3477cb084d36 (patch)
treec3f5c914247fd494951ba8de4752de5118df4561
parentd3c6c8198c46a1043b9f2eefa23f0c878b5655f9 (diff)
downloadtalos-hcode-b8b36cd661ab00c4cd1b1e4437ac3477cb084d36.tar.gz
talos-hcode-b8b36cd661ab00c4cd1b1e4437ac3477cb084d36.zip
Fix a couple of EKB files to prevent CMVC quirk
CMVC expands the date command strings added as comments in these two files. So when we try using the auto code checkin tool to push code from hwsv Git repo to CMVC, we end up checking in these files always - as they show the current date versus the actual date command strings. Change-Id: Ibe82b679f14d781c7b64ae8dcdd7ab2356accf8d Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54830 Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: HWSV CI <hwsv-ci+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: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rw-r--r--import/chips/p9/xip/p9_xip_image.h4
-rw-r--r--import/chips/p9/xip/p9_xip_tool.C2
2 files changed, 3 insertions, 3 deletions
diff --git a/import/chips/p9/xip/p9_xip_image.h b/import/chips/p9/xip/p9_xip_image.h
index 774d7b18..a059401e 100644
--- a/import/chips/p9/xip/p9_xip_image.h
+++ b/import/chips/p9/xip/p9_xip_image.h
@@ -404,10 +404,10 @@ typedef struct
/// The size of the image (including padding) in bytes
uint32_t iv_imageSize;
- /// Build date generated by `date +%Y%m%d`, e.g., 20110630
+ /// Build date generated in yyyymmdd format, e.g., 20110630
uint32_t iv_buildDate;
- /// Build time generated by `date +%H%M`, e.g., 0756
+ /// Build time generated in hhmm format, e.g., 0756
uint32_t iv_buildTime;
/// Build tag, generated when releasing this image to fw
diff --git a/import/chips/p9/xip/p9_xip_tool.C b/import/chips/p9/xip/p9_xip_tool.C
index cae52742..817e8ba7 100644
--- a/import/chips/p9/xip/p9_xip_tool.C
+++ b/import/chips/p9/xip/p9_xip_tool.C
@@ -820,7 +820,7 @@ set(void* io_image, const int i_argc, const char** i_argv, int i_setv)
// We need to do a bit of preprocessing on the string to
// determine its format and set the base for strtoull(),
// otherwise strtoull() will be confused by leading zeros
- // e.g. in time strings generated by `date +%H%M`, and try to
+ // e.g. in time strings generated in hhmm format and try to
// process the string as octal.
if ((strlen(value) >= 2) && (value[0] == '0') &&
OpenPOWER on IntegriCloud