summaryrefslogtreecommitdiff
path: root/env/sata.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/sata.c')
-rw-r--r--env/sata.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/env/sata.c b/env/sata.c
index 64589117f2..f7b159a347 100644
--- a/env/sata.c
+++ b/env/sata.c
@@ -125,3 +125,11 @@ void env_relocate_spec(void)
env_import(buf, 1);
}
+
+U_BOOT_ENV_LOCATION(sata) = {
+ .location = ENVL_ESATA,
+ .get_char = env_get_char_spec,
+ .load = env_relocate_spec,
+ .save = env_save_ptr(saveenv),
+ .init = env_init,
+};