提交 7cb4f1cc 编写于 作者: Y Ying Zhang 提交者: York Sun

spl: env_common.c: make CONFIG_SPL_BUILD contain function env_import

The functionality env_import will be used in the SPL. They
had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it
into the SPL.
Signed-off-by: NYing Zhang <b40530@freescale.com>
Acked-by: NTom Rini <trini@ti.com>
Acked-by: NYork Sun <yorksun@freescale.com>
上级 39bc12dd
......@@ -140,7 +140,6 @@ int set_default_vars(int nvars, char * const vars[])
H_NOCLEAR | H_INTERACTIVE, nvars, vars);
}
#ifndef CONFIG_SPL_BUILD
/*
* Check if CRC is valid and (if yes) import the environment.
* Note that "buf" may or may not be aligned.
......@@ -172,7 +171,6 @@ int env_import(const char *buf, int check)
return 0;
}
#endif
void env_relocate(void)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册