projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
956b03e
)
pxa: Add weak attribute to reset_cpu() function
author
Łukasz Dałek
<luk0104@gmail.com>
Sat, 12 Jan 2013 15:32:32 +0000
(15:32 +0000)
committer
Marek Vasut
<marex@denx.de>
Sun, 5 May 2013 21:47:05 +0000
(23:47 +0200)
This commit allows pxa2xx based boards to reimplement reset_cpu()
function with board specific reset sequence.
Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
arch/arm/cpu/pxa/pxa2xx.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/pxa/pxa2xx.c
b/arch/arm/cpu/pxa/pxa2xx.c
index 09e8177f7b8292cca79c2b6f4631cc94eeb28f42..0c186101eccfaeb21f515e127b5cc297aaa49145 100644
(file)
--- 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)
{