fix indent

This commit is contained in:
Chiharu Shirasaka 2021-06-28 15:28:06 +09:00
parent 308d2c3ed0
commit 7120c4ca59

View File

@ -4,40 +4,40 @@
_start: _start:
//preload U-Boot from sd //preload U-Boot from sd
ldr r4, .L3 ldr r4, .L3
adr r1, [.LC0] adr r1, [.LC0]
adr r0, [.LC1] adr r0, [.LC1]
mov r3, r4 mov r3, r4
blx r3 blx r3
add r5, r4, #0xc add r5, r4, #0xc
mov r3, r0 mov r3, r0
ldr r0, .L3+4 ldr r0, .L3+4
mov r1, #1 mov r1, #1
mov r2, r0 mov r2, r0
blx r5 blx r5
cpsid if cpsid if
//copy U-Boot to head of RAM //copy U-Boot to head of RAM
ldr r3, =0x37500000 ldr r3, =0x37500000
ldr r1, =0x37540000 ldr r1, =0x37540000
.L2: .L2:
mov r2, r3 mov r2, r3
sub r3, r3, #0x7500000 sub r3, r3, #0x7500000
ldr r0, [r2], #4 ldr r0, [r2], #4
cmp r2, r1 cmp r2, r1
str r0, [r3] str r0, [r3]
mov r3, r2 mov r3, r2
bne .L2 bne .L2
ldr r0, =0x60000000 ldr r0, =0x60000000
//MUB Interrupt Disable //MUB Interrupt Disable
ldr r2,=0x40220064 ldr r2,=0x40220064
ldr r3,[r2] ldr r3,[r2]
ldr r1,=0x0000ffff ldr r1,=0x0000ffff
and r3,r3,r1 and r3,r3,r1
str r3,[r2] str r3,[r2]
mrc p15, 0, r8, c14, c2, 1 mrc p15, 0, r8, c14, c2, 1
bic r8, r8, #1 bic r8, r8, #1
@ -88,10 +88,10 @@ str r3,[r2]
bx r0 bx r0
.L3: .L3:
.word 0x60006400 .word 0x60006400
.word 0x37500000 .word 0x37500000
.LC0: .LC0:
.ascii "r\000" .ascii "r\000"
.LC1: .LC1:
.ascii "SD0:\\u-boot.bin\000" .ascii "SD0:\\u-boot.bin\000"