]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: Rename environment variable fit_bootfile to name_fit
authorAndrew F. Davis <afd@ti.com>
Mon, 12 Aug 2019 19:59:55 +0000 (15:59 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 20 Aug 2019 15:46:11 +0000 (11:46 -0400)
Like we did with 'fit_loadaddr' to 'addr_fit', the variable
'fit_bootfile' contains a name and so should be prefixed with
name_. Make this change here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
include/configs/ti_armv7_common.h
include/configs/ti_armv7_keystone2.h

index ece329fc7dd5183adca97d58ecad734c8f286c99..2058f8de0fda6f3190ddadbff4882b58e6102de9 100644 (file)
@@ -53,8 +53,8 @@
 #define DEFAULT_FIT_TI_ARGS \
        "boot_fit=0\0" \
        "addr_fit=0x90000000\0" \
-       "fit_bootfile=fitImage\0" \
-       "update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${fit_bootfile}\0" \
+       "name_fit=fitImage\0" \
+       "update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}\0" \
        "loadfit=run args_mmc; bootm ${loadaddr}#${fdtfile};\0" \
 
 /*
index 401dec44931af1a9e4d586ffa5edcb47bf87c3d2..03753c5b524bfa6b7e98d2136e619705911a6c17 100644 (file)
        "get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"       \
        "get_mon_nfs=nfs ${addr_mon} ${nfs_root}/boot/${name_mon}\0"    \
        "get_mon_ubi=ubifsload ${addr_mon} ${bootdir}/${name_mon}\0"    \
-       "get_fit_net=dhcp ${addr_fit} ${tftp_root}"                     \
-                                               "/${fit_bootfile}\0"    \
-       "get_fit_nfs=nfs ${addr_fit} ${nfs_root}/boot/${fit_bootfile}\0"\
-       "get_fit_ubi=ubifsload ${addr_fit} ${bootdir}/${fit_bootfile}\0"\
-       "get_fit_mmc=load mmc ${bootpart} ${addr_fit} "                 \
-                                       "${bootdir}/${fit_bootfile}\0"  \
+       "get_fit_net=dhcp ${addr_fit} ${tftp_root}/${name_fit}\0"       \
+       "get_fit_nfs=nfs ${addr_fit} ${nfs_root}/boot/${name_fit}\0"    \
+       "get_fit_ubi=ubifsload ${addr_fit} ${bootdir}/${name_fit}\0"    \
+       "get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}\0" \
        "get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}\0"   \
        "get_uboot_nfs=nfs ${loadaddr} ${nfs_root}/boot/${name_uboot}\0" \
        "burn_uboot_spi=sf probe; sf erase 0 0x100000; "                \
        "get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}\0"      \
        "get_kern_ramfs=dhcp ${loadaddr} ${tftp_root}/${name_kern}\0"   \
        "get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"     \
-       "get_fit_ramfs=dhcp ${addr_fit} ${tftp_root}"                   \
-                                               "/${fit_bootfile}\0"    \
+       "get_fit_ramfs=dhcp ${addr_fit} ${tftp_root}/${name_fit}\0"     \
        "get_fs_ramfs=dhcp ${rdaddr} ${tftp_root}/${name_fs}\0" \
        "get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}\0"       \
        "get_ubi_nfs=nfs ${addr_ubi} ${nfs_root}/boot/${name_ubi}\0"    \