diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-09-23 10:12:56 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-10-16 05:47:21 +0200 |
commit | 54b99e51ab580eb6373f93994fe8f8a8edeefcf8 (patch) | |
tree | 01b0d8017f809af14aa98709c02037b3c5c98c77 /include/configs | |
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>
Diffstat (limited to 'include/configs')
0 files changed, 0 insertions, 0 deletions