From a2f69d35f977179a0c98812c47718cee5b36fc11 Mon Sep 17 00:00:00 2001 From: Steve Sakoman Date: Tue, 5 Oct 2010 15:31:38 -0700 Subject: [PATCH] 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 --- common/env_mmc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5