mirror of
https://github.com/brain-hackers/boot4u
synced 2024-12-22 20:20:05 +09:00
Fix U-Boot copy size calculation
This commit is contained in:
parent
3f916a0cf7
commit
3744630abf
2
main.S
2
main.S
@ -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
|
||||||
ldr r1, =0x37540000 //copy end
|
add r1, r3, r0 //copy end
|
||||||
copy_loop:
|
copy_loop:
|
||||||
mov r2, r3
|
mov r2, r3
|
||||||
sub r3, r3, #0x7500000 //copy distination
|
sub r3, r3, #0x7500000 //copy distination
|
||||||
|
Loading…
Reference in New Issue
Block a user