commit | 54b99e51ab580eb6373f93994fe8f8a8edeefcf8 | [log] [tgz] |
---|---|---|
author | Eric Nelson <eric.nelson@boundarydevices.com> | Sun Sep 23 10:12:56 2012 +0000 |
committer | Heiko Schocher <hs@denx.de> | Tue Oct 16 05:47:21 2012 +0200 |
tree | 01b0d8017f809af14aa98709c02037b3c5c98c77 | |
parent | ff5d2dce1e8b24e9f4d85db3906c5d2e25b0cedf [diff] |
i2c_probe: update for use in scripting Allow the use of an I2C address to test and return success if one or more devices is found. This allows device presence to alter the flow of a script. e.g. if i2c probe 0x04 ; then echo found Hannstar touch ; fi Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>