Patchwork [U-Boot,v2,4/5] am335x_evm: Correct CONFIG_CMD_SPL_WRITE_SIZE

login
register
mail settings
Submitter Tom Rini
Date July 8, 2013, 4:15 p.m.
Message ID <1373300118-27306-5-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/257572/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - July 8, 2013, 4:15 p.m.
We use CONFIG_CMD_SPL_WRITE_SIZE when reading/writing the args portion
of falcon mode to NAND.  Previously it was half the size of the
eraseblock which is too small, increase to eraseblock size.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index d60f732..0f12c75 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -344,7 +344,7 @@ 
 /* nand */
 #define CONFIG_CMD_SPL_NAND_OFS			0x240000 /* end of u-boot */
 #define CONFIG_SYS_NAND_SPL_KERNEL_OFFS		0x280000
-#define CONFIG_CMD_SPL_WRITE_SIZE		0x1000
+#define CONFIG_CMD_SPL_WRITE_SIZE		0x2000
 
 /* spl export command */
 #define CONFIG_CMD_SPL