[U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner
Liu Dave-R63238
DaveLiu at freescale.com
Sat Jul 11 01:52:57 CEST 2009
> Previously, non-e500 architectures only unlocked their data
> cache which
> was used as early RAM when booting to Linux using the "bootm" command.
> This change causes all PPC boards with
> CONFIG_SYS_INIT_RAM_LOCK defined
> to unlock their data cache during U-Boot's initialization. This
> improves U-Boot performance and provides a common cache state when
> booting to different OSes.
>
> Signed-off-by: Peter Tyser <ptyser at xes-inc.com>
> ---
> I've tested this on 86xx boards, it'd be great if someone
> could test on
> 83xx and 74xx/7xx. 85xx boards should not be affected by this change.
>
> This change assumes
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/63423
> has already been applied, or the lib/ppc patches in the diffs
> below can
> be changed to lib_ppc.
I'm afraid some 83xx boards will not work after the patch is applied.
It is some was assuming the data cache locked. (that is cache-inhibited)
More information about the U-Boot
mailing list