From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 29 Sep 2011 18:15:01 +0200 Subject: [U-Boot] Is it necessary that uboot(mips) should read status register($12) before setting it In-Reply-To: References: Message-ID: <201109291815.02103.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, September 28, 2011 11:09:05 AM RdrouterUboot Router wrote: > Hi all, > > MIPS Uboot works OK.Part of the code is as below. > > And my questions: > 1.read status register($12) and save value to $10,but don't use the value > in $10 to do anything. > Because uboot overwrite $10. > > 2.Is it right?I can delete this code "mfc0 $10,$12" from uboot. > > Thanks. > > Bruce > I don't see this code in uboot at all ... what version do you use ?