summaryrefslogtreecommitdiffstats
path: root/include/configs/cardhu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/cardhu.h')
-rw-r--r--include/configs/cardhu.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/configs/cardhu.h b/include/configs/cardhu.h
index 1616b39778..55dc83da6a 100644
--- a/include/configs/cardhu.h
+++ b/include/configs/cardhu.h
@@ -47,7 +47,17 @@
#define CONFIG_SYS_I2C_SPEED 100000
#define CONFIG_CMD_I2C
-#define CONFIG_ENV_IS_NOWHERE
+/* SD/MMC */
+#define CONFIG_MMC
+#define CONFIG_GENERIC_MMC
+#define CONFIG_TEGRA_MMC
+#define CONFIG_CMD_MMC
+
+/* Environment in eMMC, at the end of 2nd "boot sector" */
+#define CONFIG_ENV_IS_IN_MMC
+#define CONFIG_ENV_OFFSET ((512 * 1024) - CONFIG_ENV_SIZE)
+#define CONFIG_SYS_MMC_ENV_DEV 0
+#define CONFIG_SYS_MMC_ENV_PART 2
/* SPI */
#define CONFIG_TEGRA_SLINK
OpenPOWER on IntegriCloud