1
0
Fork 0

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>
utp
Steve Sakoman 2010-10-05 15:31:38 -07:00 committed by Wolfgang Denk
parent dff07e18e5
commit a2f69d35f9
1 changed files with 1 additions and 2 deletions

View 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