From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Wed, 26 Apr 2006 14:56:29 -0500 Subject: [U-Boot-Users] How do you test a bit set/clear from U-Boot command line/script? Message-ID: <444FD06D.4060309@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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