diff options
author | Santosh Sivaraj <santosh@fossix.org> | 2019-01-18 09:22:12 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-25 21:59:03 -0600 |
commit | 3ac2db0a83e70bb7768c64b3fbf480e326c07d10 (patch) | |
tree | 49a3807f0fdd86aa595c8bc35555ab39ea277c16 /.travis.yml | |
parent | 647dc4aff7b6a9cbfe2338ae354246650e476bf1 (diff) | |
download | blackbird-skiboot-3ac2db0a83e70bb7768c64b3fbf480e326c07d10.tar.gz blackbird-skiboot-3ac2db0a83e70bb7768c64b3fbf480e326c07d10.zip |
flash: Add support for async decompression
Implement a standard API for decompressing images using the existing
method found in the IMC code. This patch also standardizes error codes
and does the decompression asynchronously.
The IMC decompress() function is refactored to decompress blobs/images
as a separate CPU job. 'xz_decompress_start()' starts the decompression
in a newly created CPU job; while 'wait_xz_decompress()' waits for the
job to complete.
The IMC code will be first user for the new APIs; whose implementation
is provided as reference in the next patch.
Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions