qca: Move the function set_platform_specific_default_env

This patch moves the set_platform_specific_default_env
function outside of CONFIG_QCA_MMC as this function is
not dependent on that config.

This will cause unexpected behaviour if suppose MMC
config is disabled.

Signed-off-by: Selvam Sathappan Periakaruppan <speriaka@codeaurora.org>
Change-Id: I9bfc35afb054103bfb60b837cff04eed1d94decd
This commit is contained in:
Selvam Sathappan Periakaruppan 2020-12-30 16:09:56 +05:30 committed by Gerrit - the friendly Code Review server
parent c8abb25330
commit ac3c252cf1

View file

@ -128,6 +128,7 @@ int board_mmc_env_init(qca_mmc mmc_host)
}
return ret;
}
#endif
void set_platform_specific_default_env(void)
{
@ -152,4 +153,3 @@ void set_platform_specific_default_env(void)
setenv_ulong("soc_version_minor", (unsigned long)soc_ver_minor);
}
}
#endif