From: Wolfgang Denk Date: Mon, 17 Mar 2008 22:04:53 +0100 Subject: [U-Boot-Users] [RFC][MIPS] Remove mips_cache_lock In-Reply-To: Your message of "Mon, 17 Mar 2008 23:42:39 +0900." <47DE835F.6040500@ruby.dti.ne.jp> Message-ID: <20080317210453.B2595246C5@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 In message <47DE835F.6040500@ruby.dti.ne.jp> you wrote: > I don't know the background why this lock added. So if I miss something, > please let me know. Or I'll push this before merge window close(). ... > /* Set up temporary stack. > */ > - li a0, CFG_INIT_SP_OFFSET > - la t9, mips_cache_lock > - jalr t9 > - nop > - Isn't the lock necessary to use the cache as memory for stack and initial data? 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 "Ahead warp factor 1" - Captain Kirk