summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-05-24 11:38:38 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-07-07 14:07:21 +0200
commite87c2bda9c45bcfcc8239f6052d6fa9aec7351d6 (patch)
tree1028a948ceabb14821806fcde46f7458a0ab8f16 /include
parenta5c168c6d6699e050c9333c03a4d53d62eb7949b (diff)
downloadu-boot-imx-e87c2bda9c45bcfcc8239f6052d6fa9aec7351d6.zip
u-boot-imx-e87c2bda9c45bcfcc8239f6052d6fa9aec7351d6.tar.gz
u-boot-imx-e87c2bda9c45bcfcc8239f6052d6fa9aec7351d6.tar.bz2
tegra: paz00: 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')
-rw-r--r--include/configs/paz00.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/configs/paz00.h b/include/configs/paz00.h
index d6f7fe3..29c368a 100644
--- a/include/configs/paz00.h
+++ b/include/configs/paz00.h
@@ -50,8 +50,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