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

From: Fabio Estevam fabio.estevam@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@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" \

Hi Tom/Stefano,
On Thu, Dec 15, 2016 at 8:10 PM, Fabio Estevam festevam@gmail.com wrote:
From: Fabio Estevam fabio.estevam@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@nxp.com
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

On 15/12/2016 23:10, Fabio Estevam wrote:
From: Fabio Estevam fabio.estevam@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@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; " \
"if test $board_name = BASICKS; then " \"setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
"setenv fdt_file imx6sx-udoo-neo-basic.dtb; fi; " \
"if test $board_name = FULL; then " \"setenv fdtfile imx6sx-udoo-neo-basic.dtb; fi; " \
"setenv fdt_file imx6sx-udoo-neo-full.dtb; fi; " \
"if test $board_name = EXTENDED; then " \"setenv fdtfile imx6sx-udoo-neo-full.dtb; fi; " \
"setenv fdt_file imx6sx-udoo-neo-extended.dtb; fi; " \
"if test $fdt_file = UNDEFINED; then " \
"setenv fdtfile imx6sx-udoo-neo-extended.dtb; fi; " \
"kernel_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \ "pxefile_addr_r=" __stringify(CONFIG_LOADADDR) "\0" \"if test $fdtfile = UNDEFINED; then " \ "echo WARNING: Could not determine dtb to use; fi; \0" \
Applied to u-boot-imx, -master, thanks !
Best regards, Stefano Babic
participants (2)
-
Fabio Estevam
-
Stefano Babic