diff mbox series

[U-Boot,1/2] configs: db410c: Set eMMC env partition to BOOT2

Message ID 20180614040441.9145-1-ramon.fried@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/2] configs: db410c: Set eMMC env partition to BOOT2 | expand

Commit Message

Ramon Fried June 14, 2018, 4:04 a.m. UTC
BOOT2 partition is empty and free for using to store the environment.
Use that instead of the default user partition.

Signed-off-by: Ramon Fried <ramon.fried@gmail.com>
---
 include/configs/dragonboard410c.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini June 19, 2018, 6:43 p.m. UTC | #1
On Thu, Jun 14, 2018 at 07:04:40AM +0300, Ramon Fried wrote:

> BOOT2 partition is empty and free for using to store the environment.
> Use that instead of the default user partition.
> 
> Signed-off-by: Ramon Fried <ramon.fried@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/include/configs/dragonboard410c.h b/include/configs/dragonboard410c.h
index 86fa735470..46a7179f1b 100644
--- a/include/configs/dragonboard410c.h
+++ b/include/configs/dragonboard410c.h
@@ -94,6 +94,7 @@  REFLASH(dragonboard/u-boot.img, 8)\
 
 #define CONFIG_ENV_SIZE			0x2000
 #define CONFIG_SYS_MMC_ENV_DEV		0	/* mmc0 = emmc, mmc1 = sd */
+#define CONFIG_SYS_MMC_ENV_PART 2 /* Set env partition to BOOT2 partition */
 
 /* Size of malloc() pool */
 #define CONFIG_SYS_MALLOC_LEN		(CONFIG_ENV_SIZE + SZ_8M)