Subversion Repositories freemyipod

Rev

Rev 195 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 195 Rev 196
Line 48... Line 48...
48
	mcr	p15, 0, r0,c7,c10,4
48
	mcr	p15, 0, r0,c7,c10,4
49
	mov	pc, lr
49
	mov	pc, lr
50
 
50
 
51
cacheflush_done:
51
cacheflush_done:
52
	adr	r0, _start
52
	adr	r0, _start
53
	adr	r1, _stubend + 16  @ should be +4, increased to make it fit into a shifter arg
53
	adr	r1, _stubend + 4
54
	mov	r2, #0x22000000
54
	mov	r2, #0x22000000
55
copyloop:
55
copyloop:
56
	cmp	r1, r0
56
	cmp	r1, r0
57
	ldrhi	r3, [r0], #4
57
	ldrhi	r3, [r0], #4
58
	strhi	r3, [r2], #4
58
	strhi	r3, [r2], #4
Line 167... Line 167...
167
pmuinitdata:
167
pmuinitdata:
168
	.byte 3, 0x39, 0x18, 0, 0x8c
168
	.byte 3, 0x39, 0x18, 0, 0x8c
169
	.byte 9, 0x13, 3, 0, 0, 7, 0, 5, 2, 0x6b, 0
169
	.byte 9, 0x13, 3, 0, 0, 7, 0, 5, 2, 0x6b, 0
170
	.byte 4, 0x1e, 0x12, 1, 0, 0x10
170
	.byte 4, 0x1e, 0x12, 1, 0, 0x10
171
	.byte 6, 0x22, 0x2f, 1, 0, 0x10, 9, 1
171
	.byte 6, 0x22, 0x2f, 1, 0, 0x10, 9, 1
172
	.byte 1, 0x2a, 6
-
 
173
	.byte 6, 0x31, 0x15, 1, 0x0f, 3, 0x15, 0
172
	.byte 6, 0x31, 0x15, 1, 0x0f, 3, 0x15, 0
174
	.byte 1, 0x43, 0
173
	.byte 1, 0x43, 0
175
	.byte 1, 0x4e, 0
174
	.byte 1, 0x4e, 0
176
	.byte 1, 0x58, 0
175
	.byte 1, 0x58, 0
177
	.byte 5, 0x07, 0xb0, 0x0f, 0xfe, 0xfc, 0xff
176
	.byte 5, 0x07, 0xb0, 0x0f, 0xfe, 0xfc, 0xff
Line 319... Line 318...
319
	mrc	p15, 0, r0,c1,c0
318
	mrc	p15, 0, r0,c1,c0
320
	orr	r0, r0, #5
319
	orr	r0, r0, #5
321
	orr	r0, r0, #0x1000
320
	orr	r0, r0, #0x1000
322
	mcr	p15, 0, r0,c1,c0     @ Re-enable the Protection Unit and caches
321
	mcr	p15, 0, r0,c1,c0     @ Re-enable the Protection Unit and caches
323
	mov	r0, #0xe6
322
	mov	r0, #0xe6
-
 
323
	mov	r1, #0x2a
-
 
324
	mov	r2, #6
-
 
325
	bl	i2csendbyte
-
 
326
	mov	r0, #0xe6
324
	mov	r1, #0x2b
327
	mov	r1, #0x2b
325
	mov	r2, #4
328
	mov	r2, #4
326
	bl	i2csendbyte
329
	bl	i2csendbyte
327
	mov	r0, #0xe6
330
	mov	r0, #0xe6
328
	mov	r1, #0x28
331
	mov	r1, #0x28