configs: ti_armv7_keystone2: replace addr_uboot with loadaddr
authorVitaly Andrianov <vitalya@ti.com>
Mon, 3 Aug 2015 19:54:32 +0000 (15:54 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 3 Aug 2015 19:58:37 +0000 (15:58 -0400)
This patch replaces not existing addr_uboot environment variable by
loadaddr at get_uboot_net and burn_uboot_xxx commands. Otherwise these
commands are broken.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
include/configs/ti_armv7_keystone2.h

index 2b6a2297e6aa8fa7b3cdfd5aea979bc5a622a255..af89f7090f954a8b044fdebb693a5337f00bbfb4 100644 (file)
        "get_kern_ubi=ubifsload ${loadaddr} ${name_kern}\0"             \
        "get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"       \
        "get_mon_ubi=ubifsload ${addr_mon} ${name_mon}\0"               \
-       "get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}\0" \
+       "get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}\0"   \
        "burn_uboot_spi=sf probe; sf erase 0 0x100000; "                \
-               "sf write ${addr_uboot} 0 ${filesize}\0"                \
+               "sf write ${loadaddr} 0 ${filesize}\0"          \
        "burn_uboot_nand=nand erase 0 0x100000; "                       \
-               "nand write ${addr_uboot} 0 ${filesize}\0"              \
+               "nand write ${loadaddr} 0 ${filesize}\0"                \
        "args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1\0"  \
        "args_net=setenv bootargs ${bootargs} rootfstype=nfs "          \
                "root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},"     \