提交 82c3a4c4 编写于 作者: J Jeroen Hofstee 提交者: Tom Rini

common: bootm_os: make arch_preboot_os __weak

Signed-off-by: NJeroen Hofstee <jeroen@myspectrum.nl>
上级 cee9ab7c
......@@ -437,11 +437,10 @@ static boot_os_fn *boot_os[] = {
};
/* Allow for arch specific config before we boot */
static void __arch_preboot_os(void)
__weak void arch_preboot_os(void)
{
/* please define platform specific arch_preboot_os() */
}
void arch_preboot_os(void) __attribute__((weak, alias("__arch_preboot_os")));
int boot_selected_os(int argc, char * const argv[], int state,
bootm_headers_t *images, boot_os_fn *boot_fn)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册