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 | |
parent | 2ff467c05115c709decd7702cbc21679ac449519 (diff) | |
download | u-boot-imx-5bedf884a8508f1b2f5b8f74e67d987a81ff05ed.zip u-boot-imx-5bedf884a8508f1b2f5b8f74e67d987a81ff05ed.tar.gz u-boot-imx-5bedf884a8508f1b2f5b8f74e67d987a81ff05ed.tar.bz2 |
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>
-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 f41bf05..09cd45d 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(); } |