Skip to content
Snippets Groups Projects
Commit a2f69d35 authored by Steve Sakoman's avatar Steve Sakoman Committed by Wolfgang Denk
Browse files

env_mmc: Fix broken build due to set_default_env() change


Previously the function was set_default_env(void), it is now
set_default_env(const char *s). This patch adds the required
parameter. This fixes a broken build on OMAP4430 SDP.

Signed-off-by: default avatarSteve Sakoman <steve.sakoman@linaro.org>
parent dff07e18
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,6 @@ void env_relocate_spec(void) ...@@ -147,7 +147,6 @@ void env_relocate_spec(void)
#if !defined(ENV_IS_EMBEDDED) #if !defined(ENV_IS_EMBEDDED)
static void use_default() static void use_default()
{ {
puts ("*** Warning - bad CRC or MMC, using default environment\n\n"); set_default_env(NULL);
set_default_env();
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment