Skip to contentSkip to conversation

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

U-Boot-Users Tolunay Orkun 1 participant 1 message Apr 26, 2006

lore
Share & tools
lore
#0 lore raw

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