X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=common%2Fbootm_os.c;h=5be4467a1c2618d4552e1cbbcf715c6885aa2eb6;hp=f7769ac853b7a49ed142316fd803c23f24425b8a;hb=c6b0b090329958d7c1bd1285a720490945258b94;hpb=b5b8d85e9a50c2294b6043830cd045de1002dc5d 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)