Patchwork [U-Boot,v2,3/5] am335x_evm: Update eMMC falcon mode locations

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

Comments

Tom Rini - July 8, 2013, 4:15 p.m.
The previous location used for the "args" portion of falcon mode was too
small to allow for a device tree to be saved there, so move the location
slightly and increase the size.  In addition, our previous kernel
location was part of the area we set aside for U-Boot itself, so move it
up a bit higher.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Peter Korsgaard - July 8, 2013, 7:30 p.m.
>>>>> "Tom" == Tom Rini <trini@ti.com> writes:

 Tom> The previous location used for the "args" portion of falcon mode was too
 Tom> small to allow for a device tree to be saved there, so move the location
 Tom> slightly and increase the size.  In addition, our previous kernel
 Tom> location was part of the area we set aside for U-Boot itself, so move it
 Tom> up a bit higher.

 Tom> Signed-off-by: Tom Rini <trini@ti.com>

Reviewed-by: Peter Korsgaard <jacmet@sunsite.dk>

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index b974d1b..d60f732 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -337,9 +337,9 @@ 
 #define CONFIG_SYS_SPL_ARGS_ADDR		(PHYS_DRAM_1 + 0x100)
 
 /* raw mmc */
-#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR	0x500 /* address 0xa0000 */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR	0x8   /* address 0x1000 */
-#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS	8     /* 4KB */
+#define CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR	0x900	/* address 0x120000 */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR	0x80	/* address 0x10000 */
+#define CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS	0x80	/* 64KiB */
 
 /* nand */
 #define CONFIG_CMD_SPL_NAND_OFS			0x240000 /* end of u-boot */