Skip to content
Snippets Groups Projects
Commit b876eb87 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 918adf8e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment