mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 12:41:32 +00:00
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>
This commit is contained in:
parent
2ff467c051
commit
5bedf884a8
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue