[U-Boot] adding saveenv-command for bananapi r2

Wolfgang Denk wd at denx.de
Mon Dec 3 16:18:08 UTC 2018


Dear Frank,

In message <trinity-25636975-253e-454a-b498-1c6eb9e1944c-1543847956224 at 3c-app-gmx-bs20> you wrote:
> 
> +	if (strncmp(uflag,"eMMC",4)==0)
> +	{
> +		g_mmc_devid = 0;
> +		printf("Boot From Emmc(id:%d)\n\n", g_mmc_devid);
> +	}
> +	else
> +	{
> +		g_mmc_devid = 1;
> +		printf("Boot From SD(id:%d)\n\n", g_mmc_devid);
> +	}

Please fix brace style.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"It is better to have tried and failed than to have  failed  to  try,
but the result's the same."                           - Mike Dennison


More information about the U-Boot mailing list