diff options
author | Atish Patra <atish.patra@wdc.com> | 2020-03-06 03:24:22 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-17 19:32:36 +0300 |
commit | 155d6a3575470c1a735b8cf368d9e987930910a8 (patch) | |
tree | 102854264876f6bbee25449bea7cbad36cd145a8 /doc | |
parent | 2a2119e10ca364d7c1539a9103b9fd3839dbe6ac (diff) | |
download | u-boot-155d6a3575470c1a735b8cf368d9e987930910a8.tar.xz |
image: Add a common compression type detection function.
Currently, there is no method that can detect compression types
given a file. This is very useful where a compressed kernel image
is loaded directly to the memory.
Inspect initial few bytes to figure out compression type of the
image. It will be used in booti method for now but can be reused
any other function in future as well.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions