From 160637c9e837f942480db4db7809123e91b2912a Mon Sep 17 00:00:00 2001 From: aravnair-in Date: Wed, 28 Feb 2018 08:23:22 -0600 Subject: 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 Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Tested-by: HWSV CI Tested-by: PPE CI Tested-by: Hostboot CI Reviewed-by: Sachin Gupta Reviewed-by: Jennifer A. Stofer Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/54836 --- src/import/chips/p9/xip/p9_xip_image.h | 4 ++-- src/import/chips/p9/xip/p9_xip_tool.C | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/import/chips') 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') && -- cgit v1.2.1