[U-Boot-Users] value of r4 in start.S in boot_cold?

Prathima_Kolar Prathima_Kolar at Satyam.com
Tue Sep 28 14:09:02 CEST 2004


Hello,
I am not able to figure out the content of register r4 in the given code
snippet.
I also wanted to know the significance of the address 0x 0F010000 got from
the line "lwz     r4, 0(r3)".
 
boot_cold:
#if defined(CONFIG_MPC8260ADS)
            lis         r3, CFG_DEFAULT_IMMR at h
            nop
            lwz       r4, 0(r3)
            nop
            rlwinm  r4, r4, 0, 8, 5
            nop
            oris       r4, r4, 0x0200
            nop
            stw       r4, 0(r3)
            nop
 
Thanks & Warm Regards,
Prathima.
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20040928/e9a0ae3d/attachment.htm 


More information about the U-Boot mailing list