Skip to contentSkip to conversation

arm: socfpga: Enable env support on MCV

PATCH New Marek Vasut 1 participant 2 messages Sep 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: Enable env support on MCV

Enable support for env in eMMC on MCV SoM.

---
 include/configs/socfpga_mcvevk.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
include/configs/socfpga_mcvevk.h +5 -1
index ed9b5cc..65816a0 100644
@@ -43,7 +43,11 @@
 #define CONFIG_LOADADDR		0x01000000
 #define CONFIG_SYS_LOAD_ADDR	CONFIG_LOADADDR
 
-#define CONFIG_ENV_IS_NOWHERE
+/* Environment is in MMC */
+#define CONFIG_ENV_OVERWRITE
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_SYS_MMC_ENV_DEV		0	/* device 0 */
+#define CONFIG_ENV_OFFSET		512	/* just after the MBR */
 
 /* USB */
 #ifdef CONFIG_CMD_USB
Signature · 1 line
2.1.4
author Applied
#1 lore raw

PATCH 1/1 arm: socfpga: Enable env support on MCV

Quoted 3 lines · Marek Vasut

Enable support for env in eMMC on MCV SoM.

Applied, thanks.

Best regards,
Marek Vasut