Compare commits

..

No commits in common. "3de439eb6fd051404f7b4fe7d23ee505b6741deb" and "3f916a0cf7b2516e3eaa720a5c77efbe53527eeb" have entirely different histories.

4
main.S
View File

@ -26,7 +26,7 @@ _start:
//copy U-Boot to head of RAM //copy U-Boot to head of RAM
ldr r3, =0x37500000 //copy start ldr r3, =0x37500000 //copy start
add r1, r3, r0 //copy end ldr r1, =0x37540000 //copy end
copy_loop: copy_loop:
mov r2, r3 mov r2, r3
sub r3, r3, #0x7500000 //copy distination sub r3, r3, #0x7500000 //copy distination
@ -34,7 +34,7 @@ _start:
cmp r2, r1 cmp r2, r1
str r0, [r3] str r0, [r3]
mov r3, r2 mov r3, r2
blt copy_loop bne copy_loop
//RAM clear //RAM clear
ldr r2,=0x60200000 //clear start ldr r2,=0x60200000 //clear start