summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-09-22 12:53:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-24 09:03:18 +0200
commitfc5923d975b4e93d219c96faecd666e41ce6a8de (patch)
tree416c58e3012743194069fd643d630cdae18fa87b /include/boot.h
parentfeb2e4a947fd8d0fc067731fe39af7a40bffccf5 (diff)
downloadbarebox-fc5923d975b4e93d219c96faecd666e41ce6a8de.tar.gz
barebox-fc5923d975b4e93d219c96faecd666e41ce6a8de.tar.xz
bootm: move getenv_loadaddr from command to common
getenv_loadaddr may be used by other code, so move it from command/ to common/ Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h
index ccce8e1a42..8d42d39103 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -96,4 +96,6 @@ static inline int linux_bootargs_overwrite(const char *bootargs)
int bootm_boot(struct image_data *);
+unsigned long long getenv_loadaddr(const char *name);
+
#endif /* __BOOT_H */