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

2017-01-02 Thread Stefano Babic
On 15/12/2016 23:10, Fabio Estevam wrote:
> From: Fabio Estevam 
> 
> '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 
> ---
>  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=0x\0" \
>   "initrd_high=0x\0" \
> - "fdt_file=undefined\0" \
> + "fdtfile=undefined\0" \
>   "fdt_addr=0x8300\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: sba...@denx.de
=
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-12-26 Thread Fabio Estevam
Hi Tom/Stefano,

On Thu, Dec 15, 2016 at 8:10 PM, Fabio Estevam  wrote:
> From: Fabio Estevam 
>
> '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 

Can we have this one applied for 2017.01? I would like to have the
same mechanism for booting distro config as in wandbboard and cuboxi
boards.

Thanks
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


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

2016-12-15 Thread Fabio Estevam
From: Fabio Estevam 

'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 
---
 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=0x\0" \
"initrd_high=0x\0" \
-   "fdt_file=undefined\0" \
+   "fdtfile=undefined\0" \
"fdt_addr=0x8300\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" \
-- 
2.7.4

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot