diff options
author | Martin Peschke <mpeschke@de.ibm.com> | 2016-07-01 12:18:25 +0200 |
---|---|---|
committer | Martin Peschke <mpeschke@de.ibm.com> | 2016-08-02 09:51:40 -0400 |
commit | b1bf3bb718b96c78635912dd1f3214360bc1534d (patch) | |
tree | ce7b011e000c1cc7c49eb57a791419013b0937d3 /import | |
parent | 4a5baabd93e4e70793fcbb5b772631a9e4a65511 (diff) | |
download | talos-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.H | 4 |
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 */ /// @} |