summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/compressed/ice-dcc.S
blob: 104377a199bbc9f95d7271a560b1e3fa391bd1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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