summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-bsp/meta-aspeed
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2015-10-30 03:14:41 -0400
committerBrad Bishop <bradleyb@us.ibm.com>2015-10-30 03:20:13 -0400
commit7d4f27257e3961bc563aef18d4a2a93bc019d24d (patch)
tree0f5cf75461cae60e6c32beae6010af515a37805f /meta-openbmc-bsp/meta-aspeed
parentc1fad5be6f70c03ae8b7e34d2206dff67a828f97 (diff)
downloadtalos-openbmc-7d4f27257e3961bc563aef18d4a2a93bc019d24d.tar.gz
talos-openbmc-7d4f27257e3961bc563aef18d4a2a93bc019d24d.zip
Enable hwmon and sensor drivers
hwmon core, nct7904, lm75, and at24.
Diffstat (limited to 'meta-openbmc-bsp/meta-aspeed')
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/hwmon.cfg4
-rw-r--r--meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc_%.bbappend2
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/hwmon.cfg b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/hwmon.cfg
new file mode 100644
index 000000000..053fea32c
--- /dev/null
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc/hwmon.cfg
@@ -0,0 +1,4 @@
+CONFIG_HWMON=y
+CONFIG_SENSORS_NCT7904=y
+CONFIG_SENSORS_LM75=y
+CONFIG_EEPROM_AT24=y
diff --git a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc_%.bbappend b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc_%.bbappend
index 6d7ae271e..0575ac1f8 100644
--- a/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc_%.bbappend
+++ b/meta-openbmc-bsp/meta-aspeed/meta-ast2400/recipes-kernel/linux/linux-obmc_%.bbappend
@@ -1,2 +1,2 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-SRC_URI += "file://defconfig"
+SRC_URI += "file://defconfig hwmon.cfg"
OpenPOWER on IntegriCloud