[U-Boot] [PATCH] udoo_neo: Use 'fdtfile' variable name

Stefano Babic sbabic at denx.de
Mon Jan 2 17:51:07 CET 2017


On 15/12/2016 23:10, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> 'fdtfile' is the preferred name for the variable that contains the
> device tree blob according to the README file.
> 
> It also makes it consistent with other i.MX boards that use config_distro,
> so change it accordingly.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>
> ---
>  include/configs/udoo_neo.h | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h
> index 81e0481..e5057be 100644
> --- a/include/configs/udoo_neo.h
> +++ b/include/configs/udoo_neo.h
> @@ -36,7 +36,7 @@
>  	"console=ttymxc0,115200\0" \
>  	"fdt_high=0xffffffff\0" \
>  	"initrd_high=0xffffffff\0" \
> -	"fdt_file=undefined\0" \
> +	"fdtfile=undefined\0" \
>  	"fdt_addr=0x83000000\0" \
>  	"ip_dyn=yes\0" \
>  	"mmcdev=0\0" \
> @@ -44,14 +44,14 @@
>  	"mmcautodetect=no\0" \
>  	"findfdt="\
>  		"if test $board_name = BASIC; then " \
> -			"setenv fdt_file imx6sx-udoo-neo-basic.dtb; fi; " \
> +			"setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
>  		"if test $board_name = BASICKS; then " \
> -			"setenv fdt_file imx6sx-udoo-neo-basic.dtb; fi; " \
> +			"setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
>  		"if test $board_name = FULL; then " \
> -			"setenv fdt_file imx6sx-udoo-neo-full.dtb; fi; " \
> +			"setenv fdtfile imx6sx-udoo-neo-full.dtb; fi; " \
>  		"if test $board_name = EXTENDED; then " \
> -			"setenv fdt_file imx6sx-udoo-neo-extended.dtb; fi; " \
> -		"if test $fdt_file = UNDEFINED; then " \
> +			"setenv fdtfile imx6sx-udoo-neo-extended.dtb; fi; " \
> +		"if test $fdtfile = UNDEFINED; then " \
>  			"echo WARNING: Could not determine dtb to use; fi; \0" \
>  	"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
>  	"pxefile_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \
> 

Applied to u-boot-imx, -master, thanks !

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