summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2016-11-01 15:04:20 +0100
committerStefano Babic <sbabic@denx.de>2016-11-29 16:33:03 +0100
commitc8d7647f639813cff08a4a7de62db815829ec72b (patch)
treef46feb784b2bd5403622d89d365d0374cad5c250 /common
parent54e4fcfa3c749a789192e83740a53234182f4ca3 (diff)
downloadu-boot-imx-c8d7647f639813cff08a4a7de62db815829ec72b.zip
u-boot-imx-c8d7647f639813cff08a4a7de62db815829ec72b.tar.gz
u-boot-imx-c8d7647f639813cff08a4a7de62db815829ec72b.tar.bz2
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>
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 0b681c2..a3d6b36 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");