env: Add a new implementation of environment access
We plan to move to a environment access via drivers for each location
where the environment can be stored. Add an implementation for this. So
far it is not used, but will be pressed into service in a future patch.
Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/env/Makefile b/env/Makefile
index 4c1bdcf..8df5b9d 100644
--- a/env/Makefile
+++ b/env/Makefile
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y += common.o
+obj-y += common.o env.o
ifndef CONFIG_SPL_BUILD
obj-y += attr.o