Skip to content
Commit a39a5548 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 5a6477ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment