]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
env_mmc: Fix broken build due to set_default_env() change
authorSteve Sakoman <steve@sakoman.com>
Tue, 5 Oct 2010 22:31:38 +0000 (15:31 -0700)
committerWolfgang Denk <wd@denx.de>
Wed, 6 Oct 2010 20:23:30 +0000 (22:23 +0200)
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>
common/env_mmc.c

index 14203b6e2eef617340399d2be4c0bc9c0285d280..cc288d487c2e0d7d05df001154d1e4470d47fb74 100644 (file)
@@ -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