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

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@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of Prathima_Kolar Sent: Tuesday, September 28, 2004 8:09 AM To: 'U-Boot-Users@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@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. **************************************************************************
participants (1)
-
Nghiem, Tien