summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2016-05-16 09:45:57 -0700
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-18 07:47:51 +0200
commit04624274360a345ef3e4ce89d5553115d49bfd8f (patch)
treec80ce8b6477e980fb81049c05232e7451d24534f /commands/Kconfig
parent914480a542aabd56ba5220afe0e234fd8213411e (diff)
downloadbarebox-04624274360a345ef3e4ce89d5553115d49bfd8f.tar.gz
barebox-04624274360a345ef3e4ce89d5553115d49bfd8f.tar.xz
commands: Add 'hwmon' command
Add 'hwmon' command which allows to display the readings of all hardware monitoring sensors registered with Barebox. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.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 80df4ddec2..ec8c752bc0 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1807,6 +1807,14 @@ config CMD_HWCLOCK
help
The hwclock command allows to query or set the hardware clock (RTC).
+config CMD_HWMON
+ bool
+ depends on AIODEV
+ prompt "hwmon command"
+ default y
+ help
+ The hwmon command allows to query hardware sensors.
+
config CMD_I2C
bool
depends on I2C