[U-Boot] [PATCH 04/14] imx: ventana: use mmc_root in boot scripts

Stefano Babic sbabic at denx.de
Fri Mar 17 11:01:01 UTC 2017


On 13/03/2017 16:51, Tim Harvey wrote:
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
> ---
>  include/configs/gw_ventana.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
> index 31b3010..d51bcc9 100644
> --- a/include/configs/gw_ventana.h
> +++ b/include/configs/gw_ventana.h
> @@ -296,14 +296,14 @@
>  		"fi\0" \
>  	\
>  	"uimage=uImage\0" \
> -	"mmc_root=/dev/mmcblk0p1 rootfstype=${fs} rootwait rw\0" \
> +	"mmc_root=mmcblk0p1\0" \
>  	"mmc_boot=" \
>  		"setenv fsload \"${fs}load mmc ${disk}:${part}\"; " \
>  		"mmc dev ${disk} && mmc rescan && " \
>  		"setenv dtype mmc; run loadscript; " \
>  		"if ${fsload} ${loadaddr} ${bootdir}/${uimage}; then " \
>  			"setenv bootargs console=${console},${baudrate} " \
> -				"root=/dev/mmcblk0p1 rootfstype=${fs} " \
> +				"root=/dev/${mmc_root} rootfstype=${fs} " \
>  				"rootwait rw ${video} ${extra}; " \
>  			"if run loadfdt; then " \
>  				"bootm ${loadaddr} - ${fdt_addr}; " \
> 
Reviewed-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list