Subversion Repositories freemyipod

Rev

Rev 726 | Rev 905 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 726 Rev 749
Line 443... Line 443...
443
	.word	0x0002000B @ R2
443
	.word	0x0002000B @ R2
444
	.word	0x0003B3B2 @ R3
444
	.word	0x0003B3B2 @ R3
445
	.word	0xFF53B3B0 @ R4
445
	.word	0xFF53B3B0 @ R4
446
	.word	0x00008040 @ R5
446
	.word	0x00008040 @ R5
447
	.word	0x8000100F @ R6: For LCD init at end of block
447
	.word	0x8000100F @ R6: For LCD init at end of block
448
	.word	0x41100DB8 @ R7: For LCD init at end of block
448
	.word	0x41000c20 @ R7: For LCD init at end of block
449
                           @ R8: Warmboot flag
449
                           @ R8: Warmboot flag
450
                           @ R9: 0
450
                           @ R9: 0
451
                           @ R10: I2C base address
451
                           @ R10: I2C base address
452
                           @ R11: TIMER base address
452
                           @ R11: TIMER base address
453
                           @ R12: SYSCON base address
453
                           @ R12: SYSCON base address
Line 607... Line 607...
607
	.byte	0x02, 0x3a, 0x06
607
	.byte	0x02, 0x3a, 0x06
608
	.byte	0x01, 0x13
608
	.byte	0x01, 0x13
609
	.byte	0x01, 0x29
609
	.byte	0x01, 0x29
610
	.byte	0x80
610
	.byte	0x80
611
lcd_sequence_c4:
611
lcd_sequence_c4:
612
.byte 0x01, 0x01, 0x85, 0x01, 0x11, 0x01, 0x29, 0x80
-
 
613
	.byte	0x01, 0x01
612
	.byte	0x01, 0x01
614
	.byte	0x85
613
	.byte	0x85
615
	.byte	0x02, 0xc0, 0x00
614
	.byte	0x02, 0xc0, 0x00
616
	.byte	0x02, 0xc1, 0x03
615
	.byte	0x02, 0xc1, 0x03
617
	.byte	0x02, 0xc2, 0x34
616
	.byte	0x02, 0xc2, 0x34
Line 630... Line 629...
630
	.byte	0x0c, 0xe1, 0x0d, 0x00, 0x23, 0x66, 0x0f, 0x15, 0x4d, 0x85, 0x08, 0x02, 0x10
629
	.byte	0x0c, 0xe1, 0x0d, 0x00, 0x23, 0x66, 0x0f, 0x15, 0x4d, 0x85, 0x08, 0x02, 0x10
631
	.byte	0x0c, 0xe2, 0x39, 0x60, 0x77, 0x05, 0x03, 0x07, 0x96, 0x64, 0x0d, 0x1a, 0x0a
630
	.byte	0x0c, 0xe2, 0x39, 0x60, 0x77, 0x05, 0x03, 0x07, 0x96, 0x64, 0x0d, 0x1a, 0x0a
632
	.byte	0x0c, 0xe3, 0x3f, 0x10, 0x16, 0x44, 0x0e, 0x04, 0x6c, 0x44, 0x04, 0x03, 0x0b
631
	.byte	0x0c, 0xe3, 0x3f, 0x10, 0x16, 0x44, 0x0e, 0x04, 0x6c, 0x44, 0x04, 0x03, 0x0b
633
	.byte	0x0c, 0xe4, 0x00, 0x61, 0x77, 0x04, 0x02, 0x04, 0x72, 0x32, 0x09, 0x19, 0x06
632
	.byte	0x0c, 0xe4, 0x00, 0x61, 0x77, 0x04, 0x02, 0x04, 0x72, 0x32, 0x09, 0x19, 0x06
634
	.byte	0x0c, 0xe5, 0x4f, 0x42, 0x27, 0x67, 0x0f, 0x02, 0x26, 0x33, 0x01, 0x03, 0x09
633
	.byte	0x0c, 0xe5, 0x4f, 0x42, 0x27, 0x67, 0x0f, 0x02, 0x26, 0x33, 0x01, 0x03, 0x09
635
	.byte	0x02, 0x3a, 0x66
-
 
636
	.byte	0x02, 0x36, 0x00
634
	.byte	0x02, 0x36, 0x00
637
	.byte	0x01, 0x11
635
	.byte	0x01, 0x11
638
	.byte	0x01, 0x29
636
	.byte	0x01, 0x29
639
	.byte	0x80
637
	.byte	0x80
640
lcd_sequence_d5:
638
lcd_sequence_d5:
Line 911... Line 909...
911
	beq	readlcd_wait
909
	beq	readlcd_wait
912
	ldr	r0, [r8,#0x14]
910
	ldr	r0, [r8,#0x14]
913
	mov	r0, r0,lsr#1
911
	mov	r0, r0,lsr#1
914
	mov	pc, lr
912
	mov	pc, lr
915
 
913
 
-
 
914
lcd_mode:
-
 
915
	.word	0x41100db8
-
 
916
 
-
 
917
 
916
lcddone:
918
lcddone:
-
 
919
	ldr	r0, lcd_mode
-
 
920
	str	r0, [r8]
917
	bic	r1, r10, #0x04400000
921
	bic	r1, r10, #0x04400000
918
	mov	r0, #1
922
	mov	r0, #1
919
	str	r0, [r1,#0x30]
923
	str	r0, [r1,#0x30]
920
	ldr	r0, _stubend
924
	ldr	r0, _stubend
921
	adr	r1, _stubend + 4
925
	adr	r1, _stubend + 4