diff options
author | Łukasz Dałek <luk0104@gmail.com> | 2013-01-12 15:32:32 +0000 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-05-05 23:47:05 +0200 |
commit | 2ac2bb7ad2d24eff461762219bb3d76c58c7384b (patch) | |
tree | c1086ee0e5b87c0a9a0351d101211ab255c866b9 /arch/arm/cpu | |
parent | 956b03e180b5d0a780a9f48707beb264a5e57426 (diff) | |
download | u-boot-imx-2ac2bb7ad2d24eff461762219bb3d76c58c7384b.zip u-boot-imx-2ac2bb7ad2d24eff461762219bb3d76c58c7384b.tar.gz u-boot-imx-2ac2bb7ad2d24eff461762219bb3d76c58c7384b.tar.bz2 |
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 <luk0104@gmail.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/pxa/pxa2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/pxa/pxa2xx.c b/arch/arm/cpu/pxa/pxa2xx.c index 09e8177..0c18610 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) { |