[U-Boot] [PATCH] spl: mmc: fix build without CONFIG_SPL_LIBCOMMON_SUPPORT
Tom Rini
trini at konsulko.com
Sun Nov 13 23:59:18 CET 2016
On Sun, Nov 13, 2016 at 10:46:19PM +0100, Yann E. MORIN wrote:
> When CONFIG_SPL_LIBCOMMON_SUPPORT is disabled, the last case statement
> is missing a proper statement, which makes the compiler whine.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Pantelis Antoniou <panto at antoniou-consulting.com>
> ---
> common/spl/spl_mmc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c
> index c674e61..cc81d19 100644
> --- a/common/spl/spl_mmc.c
> +++ b/common/spl/spl_mmc.c
> @@ -343,6 +343,7 @@ static int spl_mmc_load_image(struct spl_image_info *spl_image,
>
> break;
> case MMCSD_MODE_UNDEFINED:
> + ;
> #ifdef CONFIG_SPL_LIBCOMMON_SUPPORT
> default:
> puts("spl: mmc: wrong boot mode\n");
I thought we had applied https://patchwork.ozlabs.org/patch/689910/
already but I see it hasn't. I do prefer that patch however.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161113/9449e899/attachment.sig>
More information about the U-Boot
mailing list