summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2016-11-01 15:04:20 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2017-01-11 16:50:26 +0100
commit79ab99cd78bb89076e6412462d86b40c7e20626d (patch)
tree3cd61c987cbae215d369dfdbad6e30b31c098e1d /common
parent8c4c51a1d23bcbcdaaa27112abef6a26573217bc (diff)
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: Max Krummenacher <max.krummenacher@toradex.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Marek Vasut <marex@denx.de> (cherry picked from commit c8d7647f639813cff08a4a7de62db815829ec72b)
Diffstat (limited to 'common')
-rw-r--r--common/spl/spl_mmc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index c674e61cbde..367b4e4bd77 100644
--- a/common/spl/spl_mmc.c
+++ b/common/spl/spl_mmc.c
@@ -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");