summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCooper Jr., Franklin <fcooper@ti.com>2015-11-19 07:45:22 -0600
committerTom Rini <trini@konsulko.com>2015-11-21 21:50:19 -0500
commit7ec2328d9e0daf87409dff70366b58ea0e4237df (patch)
tree6fbf9128022b88e5db0b77260562caa79c779076 /include
parentbc622966c9fc00d0b6fc211932e377ce27af8f75 (diff)
downloadblackbird-obmc-uboot-7ec2328d9e0daf87409dff70366b58ea0e4237df.tar.gz
blackbird-obmc-uboot-7ec2328d9e0daf87409dff70366b58ea0e4237df.zip
ARM: keystone2: configs: Correct burn_uboot_sp erase size
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ti_armv7_keystone2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index aa8f8b1f85..b5d2d2e1cc 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -249,7 +249,7 @@
"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" \
OpenPOWER on IntegriCloud