From: Jeroen Hofstee Date: Wed, 8 Oct 2014 20:57:28 +0000 (+0200) Subject: samsung: board: use __weak X-Git-Tag: v2015.01-rc1~170 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7e60c13c54568465b05473f11eed30a05bb48c7;p=u-boot samsung: board: use __weak Signed-off-by: Jeroen Hofstee --- diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index e1fc123fcc..8b4c8e9a9d 100644 --- a/board/samsung/common/board.c +++ b/board/samsung/common/board.c @@ -28,19 +28,15 @@ DECLARE_GLOBAL_DATA_PTR; -int __exynos_early_init_f(void) +__weak int exynos_early_init_f(void) { return 0; } -int exynos_early_init_f(void) - __attribute__((weak, alias("__exynos_early_init_f"))); -int __exynos_power_init(void) +__weak int exynos_power_init(void) { return 0; } -int exynos_power_init(void) - __attribute__((weak, alias("__exynos_power_init"))); #if defined CONFIG_EXYNOS_TMU /* Boot Time Thermal Analysis for SoC temperature threshold breach */