diff mbox

[U-Boot,1/2] env_mmc: add mmc_get_env_addr() prototype

Message ID 1406715546-28586-1-git-send-email-lifshitz@compulab.co.il
State Accepted
Delegated to: Pantelis Antoniou
Headers show

Commit Message

Dmitry Lifshitz July 30, 2014, 10:19 a.m. UTC
Add missing mmc_get_env_addr() prototype in environment.h

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
---
 include/environment.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Pantelis Antoniou Aug. 1, 2014, 5:14 p.m. UTC | #1
Hi Dmitry,

On Jul 30, 2014, at 1:19 PM, Dmitry Lifshitz wrote:

> Add missing mmc_get_env_addr() prototype in environment.h
> 
> Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
> ---
> include/environment.h |    6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/include/environment.h b/include/environment.h
> index 08679ae..d7a1adf 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>
> -- 
> 1.7.5.4

Applied, thanks.

-- Pantelis
diff mbox

Patch

diff --git a/include/environment.h b/include/environment.h
index 08679ae..d7a1adf 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>