diff options
author | Jeroen Hofstee <jeroen@myspectrum.nl> | 2014-07-10 23:06:25 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-18 17:53:23 -0400 |
commit | 82c3a4c445939a12df1f6c7ee245d2d801672186 (patch) | |
tree | 6d9094290f903469ed7c499802859320ce6e656a | |
parent | cee9ab7cb62ee3cb5544ce2a217644a166340f93 (diff) | |
download | u-boot-imx-82c3a4c445939a12df1f6c7ee245d2d801672186.zip u-boot-imx-82c3a4c445939a12df1f6c7ee245d2d801672186.tar.gz u-boot-imx-82c3a4c445939a12df1f6c7ee245d2d801672186.tar.bz2 |
common: bootm_os: make arch_preboot_os __weak
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-rw-r--r-- | common/bootm_os.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c index f7769ac..5be4467 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) |