diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
index 0b681c23de94247e5ef92975fffa7e7a465f4236..a3d6b36cb41ace1d1519750c5eca5f49416d7d11 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");