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:
2ff467c
)
ARM: highbank: use wfi macro instead of inline asm
author
Rob Herring
<rob.herring@calxeda.com>
Sun, 2 Dec 2012 17:06:22 +0000
(17:06 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Sun, 3 Feb 2013 13:44:02 +0000
(14:44 +0100)
Older compilers don't recognize v7 wfi instruction, so use wfi macro to
fix builds on old compilers.
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
board/highbank/highbank.c
patch
|
blob
|
history
diff --git
a/board/highbank/highbank.c
b/board/highbank/highbank.c
index f41bf05a518c1da4b2134639b67f2cfb1e33c72f..09cd45d3744154722d39dd4f5c1cb8dbe3fe2570 100644
(file)
--- a/
board/highbank/highbank.c
+++ b/
board/highbank/highbank.c
@@
-88,5
+88,6
@@
void dram_init_banksize(void)
void reset_cpu(ulong addr)
{
writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ);
- asm(" wfi");
+
+ wfi();
}