aboutsummaryrefslogtreecommitdiff
path: root/tools/env/fw_env.c
diff options
context:
space:
mode:
authorStefano Babic2017-04-05 18:08:01 +0200
committerTom Rini2017-04-12 13:28:28 -0400
commit9d80b49a671c9922931adcd823aab0ed319a42d1 (patch)
treebd9aab8df3e725e3037cf57a5da4acbc90b73d64 /tools/env/fw_env.c
parentb80c0b99347c52884cccc7c09775942acbcc0739 (diff)
env: split fw_env.h in public and private parts
Move U-Boot private data into a separate file. This lets export fw_env.h to be used by external programs that want to change the environment using the library built in tools/env. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/env/fw_env.c')
-rw-r--r--tools/env/fw_env.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
index 862a0b1a02a..fc3f4ce47fa 100644
--- a/tools/env/fw_env.c
+++ b/tools/env/fw_env.c
@@ -34,6 +34,7 @@
# include <mtd/mtd-user.h>
#endif
+#include "fw_env_private.h"
#include "fw_env.h"
struct env_opts default_opts = {