diff options
author | aravnair-in <aravindnair@in.ibm.com> | 2018-02-28 08:23:22 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-03-06 08:19:34 -0500 |
commit | 160637c9e837f942480db4db7809123e91b2912a (patch) | |
tree | 239360ed4895859609e0d3615f337df6e32b3a58 /src/import/chips/p9 | |
parent | 6526984e4ae4d8e45ffebc79ff7fa761e02d9406 (diff) | |
download | talos-sbe-160637c9e837f942480db4db7809123e91b2912a.tar.gz talos-sbe-160637c9e837f942480db4db7809123e91b2912a.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>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54836
Diffstat (limited to 'src/import/chips/p9')
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_image.h | 4 | ||||
-rw-r--r-- | src/import/chips/p9/xip/p9_xip_tool.C | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/import/chips/p9/xip/p9_xip_image.h b/src/import/chips/p9/xip/p9_xip_image.h index 9b139b98..7947b97f 100644 --- a/src/import/chips/p9/xip/p9_xip_image.h +++ b/src/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/src/import/chips/p9/xip/p9_xip_tool.C b/src/import/chips/p9/xip/p9_xip_tool.C index eb245ed7..71c35c66 100644 --- a/src/import/chips/p9/xip/p9_xip_tool.C +++ b/src/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') && |