Re: [U-Boot] [PATCH] i2c_probe: update for use in scripting

2012-10-15 Thread Heiko Schocher
Hello Eric Nelson, On 23.09.2012 22:12, Eric Nelson wrote: 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-

[U-Boot] [PATCH] i2c_probe: update for use in scripting

2012-09-23 Thread Eric Nelson
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 --- common/cmd_i2c.c | 20 ++