On Sunday 01 June 2008, Wolfgang Denk wrote:
> In message <[EMAIL PROTECTED]> you wrote:
> > When available, use the on-chip syscontrol() rom function to perform a
> > system reset rather than our own local method.
> ...
> > -           asm("jump (%0);" : : "a" (bfin_reset));
> > +           if (0 /*BOOTROM_CAPS_SYSCONTROL -- current silicon is broken*/)
> > +                   syscontrol(SYSCTRL_SOFTRESET, NULL, NULL);
> > +           else
> > +                   asm("jump (%0);" : : "a" (bfin_reset));
> >  }
>
> Your comment suggests you change something, but actually you;re just
> adding dead code.

it's dead code because the current silicon is broken.  i know the code works 
as ive tested it in scenarios where the anomaly isnt triggered, it just cant 
be enabled until fixed hardware is released.  it's much easier to go back and 
fix 1 if statement then have to carry this patch somewhere it can got lost 
and i need to waste time and rewrite it.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to