Skip to content
Snippets Groups Projects
Commit c8d7647f authored by Max Krummenacher's avatar Max Krummenacher Committed by Stefano Babic
Browse files

spl: mmc: fix switch statement


If CONFIG_SPL_LIBCOMMON_SUPPORT is not defined there is a lone case statement
at the end of the switch leading to a compile error.
Remove the offending case statement.

| common/spl/spl_mmc.c:339:7: error: label at end of compound statement

Signed-off-by: default avatarMax Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 54e4fcfa
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,6 @@ static int spl_mmc_load_image(struct spl_image_info *spl_image,
return err;
break;
case MMCSD_MODE_UNDEFINED:
#ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
default:
puts("spl: mmc: wrong boot mode\n");
......
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