summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-10-05 15:31:38 -0700
committerWolfgang Denk <wd@denx.de>2010-10-06 22:23:30 +0200
commita2f69d35f977179a0c98812c47718cee5b36fc11 (patch)
tree58463acd2feec8603222c73366e43f4b796fbb85
parentdff07e18e5ab3cc2cc1d281a17120d8ade2cca15 (diff)
downloadu-boot-imx-a2f69d35f977179a0c98812c47718cee5b36fc11.zip
u-boot-imx-a2f69d35f977179a0c98812c47718cee5b36fc11.tar.gz
u-boot-imx-a2f69d35f977179a0c98812c47718cee5b36fc11.tar.bz2
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: Steve Sakoman <steve.sakoman@linaro.org>
-rw-r--r--common/env_mmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/env_mmc.c b/common/env_mmc.c
index 14203b6..cc288d4 100644
--- a/common/env_mmc.c
+++ b/common/env_mmc.c
@@ -147,7 +147,6 @@ void env_relocate_spec(void)
#if !defined(ENV_IS_EMBEDDED)
static void use_default()
{
- puts ("*** Warning - bad CRC or MMC, using default environment\n\n");
- set_default_env();
+ set_default_env(NULL);
}
#endif