diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-02-26 10:38:51 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-02-26 13:31:51 +0100 |
commit | b24d91faf1551cfe993c1c755f75d947f4ff74b0 (patch) | |
tree | 47cc64b4006d961b1b19c44589e2aee874008277 | |
parent | d90abebd06bbb004fc7957c39fe89202fbdca9f2 (diff) | |
download | upstream-b24d91faf1551cfe993c1c755f75d947f4ff74b0.tar.gz upstream-b24d91faf1551cfe993c1c755f75d947f4ff74b0.tar.bz2 upstream-b24d91faf1551cfe993c1c755f75d947f4ff74b0.zip |
kernel: enable hwmon-k10temp in the x86/64 kernel config instead of packaging it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 16 | ||||
-rw-r--r-- | target/linux/x86/64/config-default | 3 |
2 files changed, 2 insertions, 17 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 6223a37ab2..b39a2e2fe8 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -386,19 +386,3 @@ define KernelPackage/hwmon-pwmfan/description endef $(eval $(call KernelPackage,hwmon-pwmfan)) - - -define KernelPackage/hwmon-k10temp - TITLE:=AMD Family 10h+ temperature sensor - KCONFIG:=CONFIG_SENSORS_K10TEMP - FILES:=$(LINUX_DIR)/drivers/hwmon/k10temp.ko - AUTOLOAD:=$(call AutoLoad,60,k10temp) - $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86) -endef - -define KernelPackage/hwmon-k10temp/description - Thermal sensor support for AMD 10h, 11h, 12h (Llano), 14h (Brazos), - 15h (Bulldozer/Trinity/Kaveri) and 16h (Kabini/Mullins) CPUs -endef - -$(eval $(call KernelPackage,hwmon-k10temp)) diff --git a/target/linux/x86/64/config-default b/target/linux/x86/64/config-default index f1349f80e1..35c6a5e711 100644 --- a/target/linux/x86/64/config-default +++ b/target/linux/x86/64/config-default @@ -168,6 +168,7 @@ CONFIG_HPET=y CONFIG_HPET_MMAP=y # CONFIG_HP_ACCEL is not set CONFIG_HVC_DRIVER=y +CONFIG_HWMON=y CONFIG_HW_RANDOM_AMD=y CONFIG_HW_RANDOM_INTEL=y CONFIG_HW_RANDOM_VIRTIO=y @@ -227,7 +228,6 @@ CONFIG_PARAVIRT=y CONFIG_PARAVIRT_CLOCK=y # CONFIG_PARAVIRT_DEBUG is not set CONFIG_PARAVIRT_SPINLOCKS=y -# CONFIG_PARAVIRT_TIME_ACCOUNTING is not set CONFIG_PATA_AMD=y CONFIG_PATA_ATIIXP=y CONFIG_PATA_LEGACY=y @@ -264,6 +264,7 @@ CONFIG_SCHED_MC=y CONFIG_SCHED_SMT=y # CONFIG_SCIF_BUS is not set CONFIG_SCSI_VIRTIO=y +CONFIG_SENSORS_K10TEMP=y CONFIG_SERIAL_8250_PNP=y CONFIG_SMP=y CONFIG_SPARSEMEM=y |