FW: Writing to I2C device during Barebox boot

Jan Lübbe jlu at pengutronix.de
Thu Oct 10 03:42:21 EDT 2013


On Wed, 2013-10-09 at 18:59 -0700, Ivor Kruger wrote:
> But this is where my linux knowledge is letting me down.
> 
> How do I get a "handle" to the device in order to call the write_reg
> function?
> 
> Your pointers and help is much appreciated.

Could you show us your code? That would make helping you much easier.
Please see 'man git-send-email' on how to send patches with git.

Regards,
Jan
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




More information about the barebox mailing list