[U-Boot-Users] value of r4 in start.S in boot_cold?
Nghiem, Tien
TNghiem at oerlikon.ca
Tue Sep 28 18:11:19 CEST 2004
Prathima,
The address 0x0F010000 is the base address. It gives you the acess to the internal memory register. Example:
The BR0's address = 0x0F010000 + 100
The OR0's address = 0x0F010000 + 104......
Tien Nghiem
-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Prathima_Kolar
Sent: Tuesday, September 28, 2004 8:09 AM
To: 'U-Boot-Users at lists.sourceforge.net'
Cc: Nishant_Galange; Apoorv_Sangal; Lochana_Lingegowda
Subject: [U-Boot-Users] value of r4 in start.S in boot_cold?
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/67a90778/attachment.htm
More information about the U-Boot
mailing list