All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] A question in lowlevel_init.S
@ 2011-01-22  4:18 krrish53
  2011-01-22  7:25 ` Albert ARIBAUD
  0 siblings, 1 reply; 8+ messages in thread
From: krrish53 @ 2011-01-22  4:18 UTC (permalink / raw)
  To: u-boot


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-01-24  0:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-22  4:18 [U-Boot] A question in lowlevel_init.S krrish53
2011-01-22  7:25 ` Albert ARIBAUD
2011-01-22  7:39   ` Reinhard Meyer
2011-01-22  9:58     ` Eric Bénard
2011-01-22 10:19       ` Reinhard Meyer
2011-01-22 16:11         ` krrish53
2011-01-23 17:25         ` Ulf Samuelsson
2011-01-24  0:00   ` krrish53

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.