[U-Boot-Users] [patch] disable caches before booting an app for Blackfin apps
Wolfgang Denk
wd at denx.de
Mon Apr 14 00:01:54 CEST 2008
In message <200801291821.05927.vapier at gentoo.org> you wrote:
> It isn't generally save to execute applications outside of U-Boot with caches
> enabled due to the way the Blackfin processor handles caches (requires
> software assistance). This patch disables caches before booting an ELF or
> just booting raw code. The previous discussion on the patch was that we
> wanted to use weaks instead, but that proved to not be feasible when multiple
> symbols are involved, which puts us back at the ifdef solution. I've
> minimized the ugliness by moving the setup step outside of the main function.
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Applied. Thanks.
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
One does not thank logic.
-- Sarek, "Journey to Babel", stardate 3842.4
More information about the U-Boot
mailing list