diff options
author | Martin Peschke <mpeschke@de.ibm.com> | 2016-07-01 12:18:25 +0200 |
---|---|---|
committer | Stephen Cprek <smcprek@us.ibm.com> | 2016-07-18 15:32:35 -0500 |
commit | 9003938c3028fafdcd69031b2889552373715c16 (patch) | |
tree | 1503e044d51702153ca73906a209d00611733fd3 /src/import | |
parent | a909621fed8deccb5e62d56ae91c1438da1aa74a (diff) | |
download | talos-hostboot-9003938c3028fafdcd69031b2889552373715c16.tar.gz talos-hostboot-9003938c3028fafdcd69031b2889552373715c16.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/26533
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import')
-rw-r--r-- | src/import/chips/p9/utils/imageProcs/p9_scan_compression.H | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H b/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H index c4f1ce1f5..b2fdddbac 100644 --- a/src/import/chips/p9/utils/imageProcs/p9_scan_compression.H +++ b/src/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 */ /// @} |