[U-Boot-Users] relocate_code

Wolfgang Denk
2003-01-04T08:08:45Z

In message <3E164AC7.1050505@sohu.com> you wrote:
>
> Why we copy _forward_ when _memory address_ <CFG_MONITOR_BASE, but
> when _memory address_>=CFG_MONITOR_BASE we will have to _copy backword_?
> Is it because some overlapping problem when copy?

Right (although not very likely here).

> >(the destination address) is >= "r4" (the source address) i.e. if it is
> >possible that the copy will overwrite the source.
> >
> thanks, I know

Ummmm... Why do you ask when you already know?

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The only perfect science is hind-sight.