commit | 5bedf884a8508f1b2f5b8f74e67d987a81ff05ed | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Sun Dec 02 17:06:22 2012 +0000 |
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | Sun Feb 03 14:44:02 2013 +0100 |
tree | c3c628758ecae8c5ae3b6960b95aa63f899a96bc | |
parent | 2ff467c05115c709decd7702cbc21679ac449519 [diff] |
ARM: highbank: use wfi macro instead of inline asm 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>
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index f41bf05..09cd45d 100644 --- a/board/highbank/highbank.c +++ b/board/highbank/highbank.c
@@ -88,5 +88,6 @@ void reset_cpu(ulong addr) { writel(HB_PWR_HARD_RESET, HB_SREG_A9_PWR_REQ); - asm(" wfi"); + + wfi(); }