]> git.sur5r.net Git - u-boot/commitdiff
arm: socfpga: Enable env support on MCV
authorMarek Vasut <marex@denx.de>
Thu, 24 Sep 2015 07:06:06 +0000 (09:06 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 24 Sep 2015 07:07:58 +0000 (09:07 +0200)
Enable support for env in eMMC on MCV SoM.

Signed-off-by: Marek Vasut <marex@denx.de>
include/configs/socfpga_mcvevk.h

index ed9b5cce6acd08ce625c2da59d4582ed907ae266..65816a05cfc39df3d5788f2f0ba4e05812e37bf4 100644 (file)
 #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