Skip to contentSkip to conversation

ARM: keystone2: configs: Correct burn_uboot_sp erase size

PATCH In review Franklin S Cooper Jr 2 participants 2 messages Nov 19, 2015 – Nov 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 include/configs/ti_armv7_keystone2.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ti_armv7_keystone2.h +1 -1
index 2b2c060..b4f365b 100644
@@ -252,7 +252,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"		\
Signature · 1 line
2.6.2
#1 lore raw
Quoted 9 lines · Franklin

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151122/ab86d312/attachment.sig>