summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-05-25 12:01:27 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-05-26 10:34:58 +0200
commitc70443b5c7df82a3d9157f8ef3d01fe06d5fe1e8 (patch)
tree13402456a401220d76be5d0c733d390344b1863c /commands/Kconfig
parent624f936032e0473ac3f543ec1775d80b5eddeb37 (diff)
downloadbarebox-c70443b5c7df82a3d9157f8ef3d01fe06d5fe1e8.tar.gz
barebox-c70443b5c7df82a3d9157f8ef3d01fe06d5fe1e8.tar.xz
commands: add i2c commands
theses commands allow low level access to i2c bus and can be useful to setup an i2c device without having to add code, compile and flash barebox. Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 0c09f91643..0ea32d963b 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -314,4 +314,12 @@ config CMD_UNLZO
Say yes here to get the unlzo command. lzo is a fast compression
algorithm by Markus Franz Xaver Johannes Oberhumer.
+config CMD_I2C
+ bool
+ depends on I2C
+ prompt "i2c commands"
+ help
+ include i2c_probe, i2c_read and i2c_write commands to communicate
+ on i2c bus.
+
endmenu