Commit 0ce75034 authored by Tony Lindgren's avatar Tony Lindgren

ARM: Fix typo in ARM11 DCC

Fix typo in ARM11 DCC
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 0f6136e4
...@@ -42,7 +42,7 @@ static void icedcc_putc(int ch) ...@@ -42,7 +42,7 @@ static void icedcc_putc(int ch)
return; return;
asm volatile ("mrc p14, 0, %0, c0, c1, 0" : "=r" (status)); asm volatile ("mrc p14, 0, %0, c0, c1, 0" : "=r" (status));
} while (status & 29); } while (status & (1 << 29));
asm("mcr p14, 0, %0, c0, c5, 0" : : "r" (ch)); asm("mcr p14, 0, %0, c0, c5, 0" : : "r" (ch));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment