commit | eefec3dc4879eec418cdbc279f62a54018037932 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Sep 25 07:03:11 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Oct 08 15:53:26 2021 -0400 |
tree | e92064f47602172ef2779f87dc99b3eac663ce06 | |
parent | 901ef083fd7eca74cf233fd28d37530a6d07634f [diff] |
image: Avoid switch default in image_decomp() At present this function is full of preprocessor macros. Adjust it to check for an unsupported algorithm after the switch(). This will allow us to drop the macros. Fix up the return-value path and an extra blank line while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>