Hi.

Is there any good way to poll a certain register
in a HUSH parser script?


For example, I want to wait
until the register value of 0x50000000 becomes 1
in a HUSH script.



The pseudo code would be like this:

while   readl(0x50000000) != 1
do
       ;
done;




I wish there were a command that
stores a value of a given address into an environment,
but I have no idea about that.


Any idea?


-- 
Best Regards
Masahiro Yamada
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to