[U-Boot] register polling from HUSH parser?

Masahiro Yamada yamada.masahiro at socionext.com
Wed Apr 27 11:17:06 CEST 2016


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


More information about the U-Boot mailing list