Skip to content
Snippets Groups Projects
Commit 5bedf884 authored by Rob Herring's avatar Rob Herring Committed by Albert ARIBAUD
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
parent 2ff467c0
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment