summaryrefslogtreecommitdiff
path: root/env/mmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/mmc.c')
-rw-r--r--env/mmc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/env/mmc.c b/env/mmc.c
index e387202e71..0d1e8077d3 100644
--- a/env/mmc.c
+++ b/env/mmc.c
@@ -324,3 +324,13 @@ err:
#endif
}
#endif /* CONFIG_ENV_OFFSET_REDUND */
+
+U_BOOT_ENV_LOCATION(mmc) = {
+ .location = ENVL_MMC,
+ .get_char = env_get_char_spec,
+ .load = env_relocate_spec,
+#ifndef CONFIG_SPL_BUILD
+ .save = env_save_ptr(saveenv),
+#endif
+ .init = env_init,
+};