diff options
author | Iván Briano <ivan.briano@intel.com> | 2016-07-07 11:14:42 -0300 |
---|---|---|
committer | Andrew Boie <andrew.p.boie@intel.com> | 2016-07-20 19:21:44 +0000 |
commit | 3c544a87ec2b2cae2188ddba4ef93a30b5e1dfb8 (patch) | |
tree | 7eda566237671b8e5c1f967a11d6ab18867a6070 /ext | |
parent | c8cb32c462c94a3ae22075315c9ea7ebe3cd3cdf (diff) |
ext qmsi: Build the power states support from QMSI
QMSI provides functions to set the SOC into its various power states,
and for Quark SE it also allows to control the voltage regulator, but
the files with these functions were not being built.
Change-Id: I40f08cdc970eb6696bc5f1d6cd0c407f64bec754
Signed-off-by: Iván Briano <ivan.briano@intel.com>
Diffstat (limited to 'ext')
-rw-r--r-- | ext/hal/qmsi/Kbuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/hal/qmsi/Kbuild b/ext/hal/qmsi/Kbuild index 6d4a3bd01..97f44ab2b 100644 --- a/ext/hal/qmsi/Kbuild +++ b/ext/hal/qmsi/Kbuild @@ -3,6 +3,14 @@ subdir-ccflags-$(CONFIG_QMSI_BUILTIN) +=-DISR_HANDLED obj-$(CONFIG_QMSI_BUILTIN) += drivers/clk.o ifeq ($(CONFIG_ARC),y) obj-$(CONFIG_QMSI_BUILTIN) += drivers/sensor/ss_clk.o +obj-$(CONFIG_QMSI_BUILTIN) += drivers/sensor/ss_power_states.o +endif +obj-$(CONFIG_QMSI_BUILTIN) += soc/$(patsubst %_ss,%,$(SOC_NAME))/drivers/power_states.o +ifeq ($(CONFIG_SOC_QUARK_SE),y) +obj-$(CONFIG_QMSI_BUILTIN) += soc/$(SOC_NAME)/drivers/vreg.o +endif +ifeq ($(CONFIG_SOC_QUARK_D2000),y) +obj-$(CONFIG_QMSI_BUILTIN) += drivers/rar.o endif obj-$(CONFIG_RTC_QMSI) += drivers/qm_rtc.o obj-$(CONFIG_WDT_QMSI) += drivers/qm_wdt.o |