diff options
| author | Atish Patra <[email protected]> | 2020-03-05 16:24:22 -0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-04-17 12:32:36 -0400 |
| commit | 155d6a3575470c1a735b8cf368d9e987930910a8 (patch) | |
| tree | 102854264876f6bbee25449bea7cbad36cd145a8 /scripts/objdiff | |
| parent | 2a2119e10ca364d7c1539a9103b9fd3839dbe6ac (diff) | |
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 <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
