]> git.sur5r.net Git - u-boot/commitdiff
ARM: keystone2: configs: Correct burn_uboot_sp erase size
authorCooper Jr., Franklin <fcooper@ti.com>
Thu, 19 Nov 2015 13:45:22 +0000 (07:45 -0600)
committerTom Rini <trini@konsulko.com>
Sun, 22 Nov 2015 02:50:19 +0000 (21:50 -0500)
The NOR flash on Keystone 2 evms has a u-boot-spl partition size of
0x80000.

Currently burn_uboot_spi will erase 0x100000 from the spi NOR which will
cause a partial erase of the misc partition.

Fix this by correcting the erase size.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
include/configs/ti_armv7_keystone2.h

index aa8f8b1f85c6a3d39528ecbc90cbb4991e3c155d..b5d2d2e1ccfd7a8e6b5ba0972c523469ff5bf06d 100644 (file)
        "get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"       \
        "get_mon_ubi=ubifsload ${addr_mon} ${name_mon}\0"               \
        "get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}\0"   \
-       "burn_uboot_spi=sf probe; sf erase 0 0x100000; "                \
+       "burn_uboot_spi=sf probe; sf erase 0 0x80000; "         \
                "sf write ${loadaddr} 0 ${filesize}\0"          \
        "burn_uboot_nand=nand erase 0 0x100000; "                       \
                "nand write ${loadaddr} 0 ${filesize}\0"                \