@ -69,15 +69,13 @@ ENDPROC(do_omap3_emu_romcode_call)
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /
ENTRY( c p y _ c l k _ c o d e )
/* Copy DPLL code into SRAM */
adr r0 , g o _ t o _ s p e e d / * g e t a d d r o f c l o c k s e t t i n g c o d e * /
mov r2 , #384 / * r2 s i z e t o c o p y ( d i v b y 3 2 b y t e s ) * /
mov r1 , r1 / * r1 < - d e s t a d d r e s s ( p a s s e d i n ) * /
add r2 , r2 , r0 / * r2 < - s o u r c e e n d a d d r e s s * /
adr r0 , g o _ t o _ s p e e d / * c o p y f r o m s t a r t o f g o _ t o _ s p e e d . . . * /
adr r2 , l o w l e v e l _ i n i t / * . . . u p t o s t a r t o f l o w _ l e v e l _ i n i t * /
next2 :
ldmia r0 ! , { r3 - r10 } / * c o p y f r o m s o u r c e a d d r e s s [ r0 ] * /
stmia r1 ! , { r3 - r10 } / * c o p y t o t a r g e t a d d r e s s [ r1 ] * /
cmp r0 , r2 / * u n t i l s o u r c e e n d a d d r e s s [ r2 ] * /
bne n e x t 2
blo n e x t 2
mov p c , l r / * b a c k t o c a l l e r * /
ENDPROC( c p y _ c l k _ c o d e )