[U-Boot] [PATCH] ARM: rmobile: Fix environment placement on Draak

Marek Vasut marek.vasut at gmail.com
Sun Jun 10 14:33:50 UTC 2018


The environment on Draak is in the eMMC, card 0, place it so.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
---
 include/configs/draak.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/draak.h b/include/configs/draak.h
index 7aabf1178b..e1b9bf1885 100644
--- a/include/configs/draak.h
+++ b/include/configs/draak.h
@@ -20,7 +20,7 @@
 
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 #define CONFIG_ENV_OFFSET		(-CONFIG_ENV_SIZE)
-#define CONFIG_SYS_MMC_ENV_DEV		1
+#define CONFIG_SYS_MMC_ENV_DEV		0
 #define CONFIG_SYS_MMC_ENV_PART		2
 
 #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS
-- 
2.16.2



More information about the U-Boot mailing list