From: Wolfgang Denk Date: Fri, 24 Jul 2009 15:46:16 +0200 Subject: [U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner In-Reply-To: <20090723190101.C8F8A832E416@gemini.denx.de> References: <1247269570-11406-1-git-send-email-ptyser@xes-inc.com> <20090723190101.C8F8A832E416@gemini.denx.de> Message-ID: <20090724134616.B3EED832E416@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter, In message <20090723190101.C8F8A832E416@gemini.denx.de> I wrote: > > In message <1247269570-11406-1-git-send-email-ptyser@xes-inc.com> you wrote: > > 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. ... > Hm... tested on TQM834x - it's still booting, but flash recognition > stopped working: I git-bisected the problem on TQM834x: 982adfc610669482a32127282fe489857a92cfe3 is first bad commit commit 982adfc610669482a32127282fe489857a92cfe3 Author: Peter Tyser Date: Fri Jul 10 18:46:10 2009 -0500 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 :040000 040000 bf1093b8403580234125df8e97d948c318e8965f 5dce3a5e28ea46706aba44ec62e88584883d0cc4 M lib_ppc Please suggest how to continue. Shall I revert this commit? 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 If something is different, it's either better or worse, and usually both. - Larry Wall