From: Steve Sakoman Date: Tue, 5 Oct 2010 22:31:38 +0000 (-0700) Subject: env_mmc: Fix broken build due to set_default_env() change X-Git-Tag: v2010.12-rc1~163 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a2f69d35f977179a0c98812c47718cee5b36fc11;p=oweals%2Fu-boot.git 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 --- diff --git a/common/env_mmc.c b/common/env_mmc.c index 14203b6e2e..cc288d487c 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