]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6cuboxi: Use more standard namings for fdt variables
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 25 Apr 2015 21:47:20 +0000 (18:47 -0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 12:43:50 +0000 (14:43 +0200)
README file suggests to use 'fdtfile' for the dtb file name and
'fdt_addr_r' for the dtb address in RAM, so do as suggested.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/mx6cuboxi.h

index 5d58b16420068d98ecc5c324079c6459132ca52f..98b48d57cd439141b1c0a3de14c2b87c97cdcaa5 100644 (file)
@@ -88,8 +88,8 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "script=boot.scr\0" \
        "image=zImage\0" \
-       "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
-       "fdt_addr=0x18000000\0" \
+       "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
+       "fdt_addr_r=0x18000000\0" \
        "boot_fdt=try\0" \
        "ip_dyn=yes\0" \
        "console=" CONFIG_CONSOLE_DEV "\0" \
        "bootscript=echo Running bootscript from mmc ...; " \
                "source\0" \
        "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
-       "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
+       "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
        "mmcboot=echo Booting from mmc ...; " \
                "run mmcargs; " \
                "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
                        "if run loadfdt; then " \
-                               "bootz ${loadaddr} - ${fdt_addr}; " \
+                               "bootz ${loadaddr} - ${fdt_addr_r}; " \
                        "else " \
                                "if test ${boot_fdt} = try; then " \
                                        "bootz; " \
                "fi; " \
                "${get_cmd} ${image}; " \
                "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
-                       "if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
-                               "bootz ${loadaddr} - ${fdt_addr}; " \
+                       "if ${get_cmd} ${fdt_addr_r} ${fdtfile}; then " \
+                               "bootz ${loadaddr} - ${fdt_addr_r}; " \
                        "else " \
                                "if test ${boot_fdt} = try; then " \
                                        "bootz; " \