summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorElizabeth Liner <eliner@us.ibm.com>2016-03-09 10:32:37 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2016-03-21 17:49:03 -0400
commit265ac2d6c7eee92deb434808c72af19b9ff4c9d5 (patch)
treeacd16f2f6ad54f9d009370d2c777658b677e9ef5 /src/include/usr
parent9ecc804688e872b8204addd52c6bea658b19afaa (diff)
downloadtalos-hostboot-265ac2d6c7eee92deb434808c72af19b9ff4c9d5.tar.gz
talos-hostboot-265ac2d6c7eee92deb434808c72af19b9ff4c9d5.zip
Adding xz decompression functionality for the skiboot image
Change-Id: I50d1eaa8bc76a030b42f982e2a967773e113f123 RTC:125550 depends-on: I2a104ec955966a6fcb9ed94dde54ab763c30210a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21854 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/isteps/hwpf_reasoncodes.H5
-rw-r--r--src/include/usr/pnor/pnor_const.H4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/include/usr/isteps/hwpf_reasoncodes.H b/src/include/usr/isteps/hwpf_reasoncodes.H
index 9737f9cdd..23bf0501e 100644
--- a/src/include/usr/isteps/hwpf_reasoncodes.H
+++ b/src/include/usr/isteps/hwpf_reasoncodes.H
@@ -5,7 +5,8 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2013,2015 */
+/* Contributors Listed Below - COPYRIGHT 2013,2016 */
+/* [+] Google Inc. */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -83,6 +84,7 @@ namespace fapi
MOD_SET_NEST_FREQ = 0x2A,
MOD_FIND_MIN_DMI_SPD = 0x2B,
MOD_OCC_LOAD_HOST_DATA_TO_SRAM = 0x2C,
+ MOD_START_XZ_PAYLOAD = 0x2D,
};
/**
@@ -144,6 +146,7 @@ namespace fapi
RC_INVALID_ULTRA_TURBO_FREQ = HWPF_COMP_ID | 0x3B,
RC_INVALID_WOF_INDEX = HWPF_COMP_ID | 0x3C,
RC_ECMD_INSERT_FAILED = HWPF_COMP_ID | 0x3D,
+ RC_INVALID_RETURN_XZ_CODE = HWPF_COMP_ID | 0x3E,
};
/**
diff --git a/src/include/usr/pnor/pnor_const.H b/src/include/usr/pnor/pnor_const.H
index 1f0b08574..88f0b8ab4 100644
--- a/src/include/usr/pnor/pnor_const.H
+++ b/src/include/usr/pnor/pnor_const.H
@@ -85,6 +85,8 @@ struct SectionInfo_t
bool sha512Version; /**< Version Checking */
bool sha512perEC; /**< Version Checking perEC */
bool readOnly; /**< Section is read only */
+ bool xzCompressed; /**< Section is XZ compressed */
+ uint32_t xzSize; /**< Size of uncompressed partition in bytes */
};
/**
@@ -119,4 +121,4 @@ enum TestSectionOffset{
}
-#endif \ No newline at end of file
+#endif
OpenPOWER on IntegriCloud