From: Jeroen Hofstee Date: Thu, 10 Jul 2014 21:06:25 +0000 (+0200) Subject: common: bootm_os: make arch_preboot_os __weak X-Git-Tag: v2014.10-rc1~125 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=82c3a4c445939a12df1f6c7ee245d2d801672186;p=u-boot common: bootm_os: make arch_preboot_os __weak Signed-off-by: Jeroen Hofstee --- diff --git a/common/bootm_os.c b/common/bootm_os.c index f7769ac853..5be4467a1c 100644 --- a/common/bootm_os.c +++ b/common/bootm_os.c @@ -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)