[U-Boot-Users] How do you test a bit set/clear from U-Boot command line/script?

Tolunay Orkun listmember at orkun.us
Wed Apr 26 21:56:29 CEST 2006


Within a u-boot script (to be executed by autoscr command), I need to 
read a GPIO port and if a particular GPIO bit is set execute some 
conditional commands. I am not sure how to do this with test/itest 
commands. Any ideas?

Best regards,
Tolunay





More information about the U-Boot mailing list