[U-Boot] Is it necessary that uboot(mips) should read status register($12) before setting it

Marek Vasut marek.vasut at gmail.com
Thu Sep 29 18:15:01 CEST 2011


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 ?


More information about the U-Boot mailing list