summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/compressed/ice-dcc.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/compressed/ice-dcc.S')
-rw-r--r--arch/arm/boot/compressed/ice-dcc.S17
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 00000000000..104377a199b
--- /dev/null
+++ b/arch/arm/boot/compressed/ice-dcc.S
@@ -0,0 +1,17 @@
+
+
+ .text
+
+ .global icedcc_putc
+
+icedcc_putc:
+ mov r2, #0x4000000
+1:
+ subs r2, r2, #1
+ movlt pc, r14
+ mrc p14, 0, r1, c0, c0, 0
+ tst r1, #2
+ bne 1b
+
+ mcr p14, 0, r0, c1, c0, 0
+ mov pc, r14