public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: socfpga: Enable env support on MCV
@ 2015-09-24  7:12 Marek Vasut
  2015-09-24  7:12 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Marek Vasut @ 2015-09-24  7:12 UTC (permalink / raw)
  To: u-boot

Enable support for env in eMMC on MCV SoM.

Signed-off-by: Marek Vasut <marex@denx.de>
---
 include/configs/socfpga_mcvevk.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/include/configs/socfpga_mcvevk.h b/include/configs/socfpga_mcvevk.h
index ed9b5cc..65816a0 100644
--- a/include/configs/socfpga_mcvevk.h
+++ b/include/configs/socfpga_mcvevk.h
@@ -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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] arm: socfpga: Enable env support on MCV
  2015-09-24  7:12 [U-Boot] [PATCH] arm: socfpga: Enable env support on MCV Marek Vasut
@ 2015-09-24  7:12 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2015-09-24  7:12 UTC (permalink / raw)
  To: u-boot

On Thursday, September 24, 2015 at 09:12:02 AM, Marek Vasut wrote:
> Enable support for env in eMMC on MCV SoM.
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Applied, thanks.

Best regards,
Marek Vasut

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-24  7:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-24  7:12 [U-Boot] [PATCH] arm: socfpga: Enable env support on MCV Marek Vasut
2015-09-24  7:12 ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox