]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: keystone2: env: Fix burn_uboot_spi command
authorFaiz Abbas <faiz_abbas@ti.com>
Tue, 16 Jan 2018 08:13:40 +0000 (13:43 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:33 +0000 (15:49 -0500)
Now the u-boot spi image is greater than 0x90000, increase the same in
env during spi erase.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/ti_armv7_keystone2.h

index 562bb65636973eaf59f4da88843128c476553c08..7fb3aaf46d6ee18c8e24baba2f6b36b24f98b59a 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 0x90000; "         \
+       "burn_uboot_spi=sf probe; sf erase 0 0x100000; "                \
                "sf write ${loadaddr} 0 ${filesize}\0"          \
        "burn_uboot_nand=nand erase 0 0x100000; "                       \
                "nand write ${loadaddr} 0 ${filesize}\0"                \