public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement
@ 2016-10-15 17:10 Max Krummenacher
  2016-10-15 17:10 ` [U-Boot] [PATCH 2/3] imx: make ipu's di configurable Max Krummenacher
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Max Krummenacher @ 2016-10-15 17:10 UTC (permalink / raw)
  To: u-boot

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>
---

 common/spl/spl_mmc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index c674e61..367b4e4 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");
-- 
2.6.6

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-10-17 15:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-15 17:10 [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement Max Krummenacher
2016-10-15 17:10 ` [U-Boot] [PATCH 2/3] imx: make ipu's di configurable Max Krummenacher
2016-10-15 17:10 ` [U-Boot] [PATCH 3/3] mx6: synchronize SPL to u-boot offset Max Krummenacher
2016-10-15 17:30   ` Marek Vasut
2016-10-15 19:17     ` Max Krummenacher
2016-10-15 19:27       ` Marek Vasut
2016-10-17 12:28         ` Max Krummenacher
2016-10-17 12:45           ` Marek Vasut
2016-10-17 15:24             ` Max Krummenacher
2016-10-15 17:29 ` [U-Boot] [PATCH 1/3] spl: mmc: fix switch statement Marek Vasut
2016-10-15 19:18   ` Max Krummenacher
2016-10-15 19:31     ` Marek Vasut
2016-10-16 11:49 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox