Patchwork [U-Boot] omap5_uevm: Correct to 2MiB aligned partitions on eMMC

login
register
mail settings
Submitter Tom Rini
Date April 10, 2013, 7:44 p.m.
Message ID <1365623081-7886-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/235460/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - April 10, 2013, 7:44 p.m.
This has a 2MiB erase block size eMMC, so make sure we align on that for
best possible performance.

Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/omap5_uevm.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Tom Rini - April 10, 2013, 8:09 p.m.
On Wed, Apr 10, 2013 at 03:44:41PM -0400, Tom Rini wrote:

> This has a 2MiB erase block size eMMC, so make sure we align on that for
> best possible performance.
> 
> Signed-off-by: Tom Rini <trini@ti.com>

Applied to u-boot-ti/master, thanks!

Patch

diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index e490523..240fdfc 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -31,8 +31,7 @@ 
 /* Define the default GPT table for eMMC */
 #define PARTS_DEFAULT \
 	"uuid_disk=${uuid_gpt_disk};" \
-	"name=u-boot,size=1792KiB,uuid=${uuid_gpt_u-boot};" \
-	"name=rootfs,size=-,uuid=${uuid_gpt_rootfs}"
+	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
 
 #include <configs/omap5_common.h>