Dear Sridhar Addagada,

In message <1344359350.57879.yahoomail...@web162902.mail.bf1.yahoo.com> you 
wrote:
>
> Is it possible to compare the contents of the memory location with a 
> constant like if test #200010 == 1; then run boot0; else run boot1;fi

Yes, this is possible.  For example:

        if itest.b *200010 == 1; then run boot0; else run boot1; fi

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: w...@denx.de
The Empire didn't encourage its subjects to go far away, in case they
saw things that might disturb them. For the same reason it had  built
a  wall  around  the  entire country, patrolled by the Heavenly Guard
whose main function was to tread heavily on the fingers of any  inha-
bitants who felt they might like to step outside for five minutes for
a breath of fresh air.                      - Terry Pratchett, _Mort_
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to