diff options
author | Rob Herring <rob.herring@calxeda.com> | 2012-12-02 17:06:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-02-03 14:44:02 +0100 |
commit | 5bedf884a8508f1b2f5b8f74e67d987a81ff05ed (patch) | |
tree | c3c628758ecae8c5ae3b6960b95aa63f899a96bc /board/highbank | |
parent | 2ff467c05115c709decd7702cbc21679ac449519 (diff) | |
download | u-boot-5bedf884a8508f1b2f5b8f74e67d987a81ff05ed.tar.gz |
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>
Diffstat (limited to 'board/highbank')
-rw-r--r-- | board/highbank/highbank.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c index f41bf05a51..09cd45d374 100644 --- 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(); } |