From mboxrd@z Thu Jan 1 00:00:00 1970 From: krrish53 Date: Fri, 21 Jan 2011 20:18:09 -0800 (PST) Subject: [U-Boot] A question in lowlevel_init.S Message-ID: <30734554.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello everybody, I have a question pertaining to almost every lowlevel_init.S. The code goes like /*make r0 relative the current location so that it*/ /*reads SMRDATA out of flash rather than memory*/ ldr r0,=SMRDATA ldr r1,_TEXT_BASE sub r10,r0,r1 I couldn't relate the code to comments made ahead of that(how does TEXT_BASE - addrof(SMRDATA) yield the location of SMRDATA in flash. I totally dint get it. Please enlighten me. I greatly appreciate any response. Thanks, Vamsi -- View this message in context: http://old.nabble.com/A-question-in-lowlevel_init.S-tp30734554p30734554.html Sent from the Uboot - Users mailing list archive at Nabble.com.