]> git.sur5r.net Git - u-boot/commit
ppc: Unlock cache-as-ram in a consistent manner
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 10 Jul 2009 23:46:10 +0000 (18:46 -0500)
committerWolfgang Denk <wd@denx.de>
Thu, 23 Jul 2009 18:45:49 +0000 (20:45 +0200)
commit982adfc610669482a32127282fe489857a92cfe3
tree4e393fde44ede3299e7c61b49342560215fd997e
parent4fb799aeafa71c4e6caacd3acdc4a4547cfbd5d4
ppc: Unlock cache-as-ram in a consistent manner

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@xes-inc.com>
lib_ppc/board.c
lib_ppc/bootm.c