Le 30/10/2010 23:56, Albert ARIBAUD a écrit :

> after the loop is
> done, I think "adr r0, _start" will still give us the source start
> address but _TEXT_BASE will contain the target start address -- though
> at this time of the evening I'd want to be careful about that.

Scratch that. After the loop, the _TEXT_BASE of the target location will 
contain the target _start, but the _TEXt_BASE of relocate_code() will 
keep on containing the source _start. Really time I went to sleep.

Apologies,
-- 
Albert.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to