summaryrefslogtreecommitdiffstats
path: root/include/environment.h
diff options
context:
space:
mode:
authorDmitry Lifshitz <lifshitz@compulab.co.il>2014-07-30 13:19:05 +0300
committerPantelis Antoniou <panto@antoniou-consulting.com>2014-08-01 20:11:59 +0300
commitac77f42d0939f05b39335277b678859b47edb997 (patch)
tree188e0aead5b5bf6a6ee1bf8ed27e6644677c6faa /include/environment.h
parentda55c66ec92c962435175cf0b4f4d61732ca3ebf (diff)
downloadblackbird-obmc-uboot-ac77f42d0939f05b39335277b678859b47edb997.tar.gz
blackbird-obmc-uboot-ac77f42d0939f05b39335277b678859b47edb997.zip
env_mmc: add mmc_get_env_addr() prototype
Add missing mmc_get_env_addr() prototype in environment.h Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il> Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'include/environment.h')
-rw-r--r--include/environment.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/environment.h b/include/environment.h
index 08679aead9..d7a1adf716 100644
--- a/include/environment.h
+++ b/include/environment.h
@@ -180,6 +180,12 @@ extern unsigned char env_get_char_spec(int);
extern void env_reloc(void);
#endif
+#ifdef CONFIG_ENV_IS_IN_MMC
+#include <mmc.h>
+
+extern int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr);
+#endif
+
#ifndef DO_DEPS_ONLY
#include <env_attr.h>
OpenPOWER on IntegriCloud