]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM64 / ACPI: Enable ARM64 in Kconfig
authorGraeme Gregory <graeme.gregory@linaro.org>
Tue, 24 Mar 2015 14:02:53 +0000 (14:02 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 26 Mar 2015 15:13:08 +0000 (15:13 +0000)
Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64.

acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR
depend on X86 || IA64, and implement it on ARM64 in the future.

CC: Rafael J. Wysocki <rjw@rjwysocki.net>
CC: Catalin Marinas <catalin.marinas@arm.com>
CC: Will Deacon <will.deacon@arm.com>
Reviewed-by: Grant Likely <grant.likely@linaro.org>
Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Tested-by: Yijing Wang <wangyijing@huawei.com>
Tested-by: Mark Langsdorf <mlangsdo@redhat.com>
Tested-by: Jon Masters <jcm@redhat.com>
Tested-by: Timur Tabi <timur@codeaurora.org>
Tested-by: Robert Richter <rrichter@cavium.com>
Acked-by: Robert Richter <rrichter@cavium.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Graeme Gregory <graeme.gregory@linaro.org>
Signed-off-by: Al Stone <al.stone@linaro.org>
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig
drivers/acpi/Kconfig

index d00ab9a71d595c20e366b91ef2f8710927e430d0..e5aa081b48450303c00404e5bdfb16730baa8c3f 100644 (file)
@@ -713,6 +713,8 @@ source "drivers/Kconfig"
 
 source "drivers/firmware/Kconfig"
 
+source "drivers/acpi/Kconfig"
+
 source "fs/Kconfig"
 
 source "arch/arm64/kvm/Kconfig"
index a726381fea72bf996fa7941befe519bf40fcc01e..a8f531e2b97c9d8eb57d5f006bf7e8b57b84a3cd 100644 (file)
@@ -5,7 +5,7 @@
 menuconfig ACPI
        bool "ACPI (Advanced Configuration and Power Interface) Support"
        depends on !IA64_HP_SIM
-       depends on IA64 || X86
+       depends on IA64 || X86 || (ARM64 && EXPERT)
        depends on PCI
        select PNP
        default y
@@ -167,6 +167,7 @@ config ACPI_PROCESSOR
        tristate "Processor"
        select THERMAL
        select CPU_IDLE
+       depends on X86 || IA64
        default y
        help
          This driver installs ACPI as the idle handler for Linux and uses