diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-05-24 11:38:35 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-07-07 14:07:20 +0200 |
commit | 294cd67c8d4a7049dc8d972a52527f605dbdaff7 (patch) | |
tree | acd267111dd8202efa364d62bdc422b6d0b54d64 /include/configs | |
parent | 1edaf094dc1a89c24017da4fd30723bd1c64ac46 (diff) | |
download | u-boot-imx-294cd67c8d4a7049dc8d972a52527f605dbdaff7.zip u-boot-imx-294cd67c8d4a7049dc8d972a52527f605dbdaff7.tar.gz u-boot-imx-294cd67c8d4a7049dc8d972a52527f605dbdaff7.tar.bz2 |
tegra: ventana: store environment in eMMC
Store the environment in eMMC, at the end of the second boot sector.
This should not conflict with any other eMMC usage: U-Boot is stored
well below this location, and the kernel only uses the general area
of the eMMC once booted, not the boot sectors.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/ventana.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/ventana.h b/include/configs/ventana.h index 2c7355b..665076d 100644 --- a/include/configs/ventana.h +++ b/include/configs/ventana.h @@ -57,8 +57,10 @@ #define CONFIG_CMD_EXT2 #define CONFIG_CMD_FAT -/* Environment not stored */ -#define CONFIG_ENV_IS_NOWHERE +/* Environment in eMMC, at the end of 2nd "boot sector" */ +#define CONFIG_ENV_IS_IN_MMC +#define CONFIG_ENV_OFFSET ((2 * 1024 * 1024) - CONFIG_ENV_SIZE) +#define CONFIG_SYS_MMC_ENV_DEV 0 /* USB Host support */ #define CONFIG_USB_EHCI |