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

Marek Vasut
2011-09-29T16:15:01Z

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 ?