summaryrefslogtreecommitdiff
path: root/include/configs/colibri_t30.h
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-11-16 16:49:24 (GMT)
committerTom Rini <trini@konsulko.com>2016-11-28 20:10:33 (GMT)
commit74b19ad1c180fe32a01bccc35b0be1425132d927 (patch)
treed374e8a4356428ca397db67b13598173e97396b0 /include/configs/colibri_t30.h
parentb891d01038abcc8b25f12e1b91ff889b06eb07a2 (diff)
downloadu-boot-74b19ad1c180fe32a01bccc35b0be1425132d927.tar.xz
apalis/colibri_t30: move environment location
Now with the config block handling in place move the U-Boot environment location before the config block at the end of 1st "boot sector" as deployed during production using our downstream BSP. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'include/configs/colibri_t30.h')
-rw-r--r--include/configs/colibri_t30.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/configs/colibri_t30.h b/include/configs/colibri_t30.h
index 1ab5c41..e8b3f99 100644
--- a/include/configs/colibri_t30.h
+++ b/include/configs/colibri_t30.h
@@ -32,11 +32,12 @@
#define CONFIG_GENERIC_MMC
#define CONFIG_TEGRA_MMC
-/* Environment in eMMC, at the end of 2nd "boot sector" */
+/* Environment in eMMC, before config block at the end of 1st "boot sector" */
#define CONFIG_ENV_IS_IN_MMC
-#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
+#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE + \
+ CONFIG_TDX_CFG_BLOCK_OFFSET)
#define CONFIG_SYS_MMC_ENV_DEV 0
-#define CONFIG_SYS_MMC_ENV_PART 2
+#define CONFIG_SYS_MMC_ENV_PART 1
/* USB host support */
#define CONFIG_USB_EHCI