All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: keystone2: configs: Correct burn_uboot_sp erase size
@ 2015-11-19 13:45 Franklin S Cooper Jr
  2015-11-22 15:53 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Franklin S Cooper Jr @ 2015-11-19 13:45 UTC (permalink / raw)
  To: u-boot

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
index 2b2c060..b4f365b 100644
--- a/include/configs/ti_armv7_keystone2.h
+++ b/include/configs/ti_armv7_keystone2.h
@@ -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"		\
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] ARM: keystone2: configs: Correct burn_uboot_sp erase size
  2015-11-19 13:45 [U-Boot] [PATCH] ARM: keystone2: configs: Correct burn_uboot_sp erase size Franklin S Cooper Jr
@ 2015-11-22 15:53 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2015-11-22 15:53 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 19, 2015 at 07:45:22AM -0600, Cooper Jr., Franklin wrote:

> 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>

Applied to u-boot/master, thanks!

-- 
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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-22 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19 13:45 [U-Boot] [PATCH] ARM: keystone2: configs: Correct burn_uboot_sp erase size Franklin S Cooper Jr
2015-11-22 15:53 ` [U-Boot] " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.