diff options
Diffstat (limited to 'arch/arm/boot/compressed/ice-dcc.S')
-rw-r--r-- | arch/arm/boot/compressed/ice-dcc.S | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/ice-dcc.S b/arch/arm/boot/compressed/ice-dcc.S new file mode 100644 index 000000000000..104377a199bb --- /dev/null +++ b/arch/arm/boot/compressed/ice-dcc.S | |||
@@ -0,0 +1,17 @@ | |||
1 | |||
2 | |||
3 | .text | ||
4 | |||
5 | .global icedcc_putc | ||
6 | |||
7 | icedcc_putc: | ||
8 | mov r2, #0x4000000 | ||
9 | 1: | ||
10 | subs r2, r2, #1 | ||
11 | movlt pc, r14 | ||
12 | mrc p14, 0, r1, c0, c0, 0 | ||
13 | tst r1, #2 | ||
14 | bne 1b | ||
15 | |||
16 | mcr p14, 0, r0, c1, c0, 0 | ||
17 | mov pc, r14 | ||