From: Łukasz Dałek Date: Sat, 12 Jan 2013 15:32:32 +0000 (+0000) Subject: pxa: Add weak attribute to reset_cpu() function X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=2ac2bb7ad2d24eff461762219bb3d76c58c7384b;p=u-boot.git pxa: Add weak attribute to reset_cpu() function This commit allows pxa2xx based boards to reimplement reset_cpu() function with board specific reset sequence. Signed-off-by: Lukasz Dalek --- diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c index 09e8177f7b..0c186101ec 100644 --- a/arch/arm/cpu/pxa/pxa2xx.c +++ b/arch/arm/cpu/pxa/pxa2xx.c @@ -284,7 +284,7 @@ void i2c_clk_enable(void) writel(readl(CKEN) | CKEN14_I2C, CKEN); } -void reset_cpu(ulong ignored) __attribute__((noreturn)); +void __attribute__((weak)) reset_cpu(ulong ignored) __attribute__((noreturn)); void reset_cpu(ulong ignored) {