[U-Boot] [PATCH v3 05/10] armv7: integrate cache maintenance support

Wolfgang Denk
2011-05-17T12:28:32Z

Dear Aneesh V,

In message <4DD264B7.9060304@ti.com> you wrote:
>
> In ARM literature this kind of situations are also referred to as "self-
> modifying". Here is an excerpt from ARM manual gloassary:

I see. Thanks.

> > Well, all the data copy will also use cached writes, which are much
>
> You mean, you will do a range-flush on only the .text section's area?

That should indeed be sufficient.

> > faster. I think this will result in measurable time differences.
>
> Relocation itself was not taking a huge amount of time in my
> measurement sometime back. It was about 16 ms for OMAP4.

I was especially talking about the loading from external storage, not
primarily relocation. This will even be mnore important if we had
(much) bigger images - like when loading an OS kernel as second stage
payload instead of U-Boot.

Best regards,

Wolfgang Denk

--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I see that Microsoft's campaign to destroy all knowledge of any
operating environment but its own environment-of-the-year has
succeeded in creating a generation of users who don't understand the
concept of a shell...
-- L. Peter Deutsch in <m0x5jNX-000R2UC@lamp.aladdin.com>