]> git.sur5r.net Git - u-boot/commit
dm: i2c: Add a function to find out the chip offset length
authorSimon Glass <sjg@chromium.org>
Mon, 4 May 2015 17:30:58 +0000 (11:30 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 00:49:33 +0000 (18:49 -0600)
commit01501804fdab0c80e31d1aa221d8afb79d436e52
treec0dcfb6bb523e774fa33139e91d8c48b016e15cf
parent59aa9df383b85a7701cefbe997d242d79b452e3b
dm: i2c: Add a function to find out the chip offset length

We can currently set this but there is no API function to get it. Add one.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Heiko Schocher<hs@denx.de>
drivers/i2c/i2c-uclass.c
include/i2c.h