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.

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to