summaryrefslogtreecommitdiff
path: root/env/onenand.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/onenand.c')
-rw-r--r--env/onenand.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/env/onenand.c b/env/onenand.c
index d7ad45a0e5..d4dfc02a46 100644
--- a/env/onenand.c
+++ b/env/onenand.c
@@ -114,3 +114,11 @@ int env_init(void)
return 0;
}
+
+U_BOOT_ENV_LOCATION(onenand) = {
+ .location = ENVL_ONENAND,
+ .get_char = env_get_char_spec,
+ .load = env_relocate_spec,
+ .save = env_save_ptr(saveenv),
+ .init = env_init,
+};