summaryrefslogtreecommitdiffstats
path: root/import
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@de.ibm.com>2016-07-01 12:18:25 +0200
committerMartin Peschke <mpeschke@de.ibm.com>2016-08-02 09:51:40 -0400
commitb1bf3bb718b96c78635912dd1f3214360bc1534d (patch)
treece7b011e000c1cc7c49eb57a791419013b0937d3 /import
parent4a5baabd93e4e70793fcbb5b772631a9e4a65511 (diff)
downloadtalos-sbe-b1bf3bb718b96c78635912dd1f3214360bc1534d.tar.gz
talos-sbe-b1bf3bb718b96c78635912dd1f3214360bc1534d.zip
p9_scan_compression: RS4v2 compression version fix
The version number contained inside the RS4 magic value should be bumped up from 1 to 2. Users need to be able to distinguish both versions, because some encoded nibbles have a different meaning. Change-Id: I593b8b6991f4646a7237e9f4170433f5f0aa813b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26532 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Claus M. Olsen <cmolsen@us.ibm.com> Reviewed-by: Martin Peschke <mpeschke@de.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27756
Diffstat (limited to 'import')
-rw-r--r--import/chips/p9/utils/imageProcs/p9_scan_compression.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/import/chips/p9/utils/imageProcs/p9_scan_compression.H b/import/chips/p9/utils/imageProcs/p9_scan_compression.H
index c4f1ce1f..b2fdddba 100644
--- a/import/chips/p9/utils/imageProcs/p9_scan_compression.H
+++ b/import/chips/p9/utils/imageProcs/p9_scan_compression.H
@@ -314,7 +314,7 @@ rs4_redundant(const CompressedScanData* i_data, int* o_redundant);
///
/// This constant is required to be a #define to guarantee consistency between
/// the header format and cmopiled code.
-#define COMPRESSED_SCAN_DATA_VERSION 1
+#define COMPRESSED_SCAN_DATA_VERSION 2
/// The size of the CompressedScanData structure
#define COMPRESSED_SCAN_DATA_SIZE (uint8_t)24
@@ -325,7 +325,7 @@ rs4_redundant(const CompressedScanData* i_data, int* o_redundant);
/// @ {
/// RS4 Magic
-#define RS4_MAGIC (uint32_t)0x52533401 /* "RS4" + Version 0x01 */
+#define RS4_MAGIC (uint32_t)0x52533402 /* "RS4" + Version 0x02 */
/// @}
OpenPOWER on IntegriCloud