diff options
author | Marek Vasut <marex@denx.de> | 2015-09-24 09:06:06 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-09-24 09:07:58 +0200 |
commit | aad604aef36e90bd42b4ce1969960f3427be4a7a (patch) | |
tree | 47914d22183f9cd9afeeffb13e8c3306125d3505 /include | |
parent | 68a3e32b722261d07cf7325ea86275bf4e3b8917 (diff) | |
download | u-boot-imx-aad604aef36e90bd42b4ce1969960f3427be4a7a.zip u-boot-imx-aad604aef36e90bd42b4ce1969960f3427be4a7a.tar.gz u-boot-imx-aad604aef36e90bd42b4ce1969960f3427be4a7a.tar.bz2 |
arm: socfpga: Enable env support on MCV
Enable support for env in eMMC on MCV SoM.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/socfpga_mcvevk.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |