]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: keystone2: env: Fix burn_uboot_spi command
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 21 Sep 2017 02:01:13 +0000 (07:31 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 29 Sep 2017 18:07:56 +0000 (14:07 -0400)
Now the u-boot spi image is greater than 0x80000, increase the same
in env during spi erase.

Reported-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/configs/ti_armv7_keystone2.h

index 2b2b85d085b4d4f3b7520e410c7e6b429202ec13..53046a2110ed6fc68503efc286a354ddabebd5f8 100644 (file)
                                        "${bootdir}/${fit_bootfile}\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 0x80000; "         \
+       "burn_uboot_spi=sf probe; sf erase 0 0x90000; "         \
                "sf write ${loadaddr} 0 ${filesize}\0"          \
        "burn_uboot_nand=nand erase 0 0x100000; "                       \
                "nand write ${loadaddr} 0 ${filesize}\0"                \