summaryrefslogtreecommitdiff
path: root/drivers/rtc/Makefile
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@intel.com>2016-01-06 16:59:18 -0200
committerAnas Nashif <anas.nashif@intel.com>2016-02-05 20:25:16 -0500
commit7b0076a7778099f00b249ff0278350d0368deece (patch)
treece2bf41938bb1353a177d7ec6caeaf0588cab3b9 /drivers/rtc/Makefile
parentdb2d48b66f89eeaffd1df50e3994c1a21ee8702b (diff)
rtc: Introduce QMSI RTC device driver
This patch introduces the 'QMSI RTC device driver' which is simply a shim driver based on RTC driver provided by QMSI BSP. Some config options are independent of the driver implementation used, so use a consistent name for them. In this case RTC Interrupt number and Priority use the same config options for both the QMSI and DesignWare drivers. In order to enable this driver, the following options should be set: CONFIG_QMSI_DRIVERS=y CONFIG_QMSI_INSTALL_PATH="/path/to/libqmsi/directory" CONFIG_RTC=y CONFIG_RTC_QMSI=y Change-Id: I48292406e5472e5786f3b9abbeb71016a273bfec Signed-off-by: Andre Guedes <andre.guedes@intel.com> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Diffstat (limited to 'drivers/rtc/Makefile')
-rw-r--r--drivers/rtc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile
index 00be5cdeb..35115e65f 100644
--- a/drivers/rtc/Makefile
+++ b/drivers/rtc/Makefile
@@ -1,2 +1,5 @@
+ccflags-$(CONFIG_RTC_QMSI) += -I$(CONFIG_QMSI_INSTALL_PATH)/include
+
obj-$(CONFIG_RTC) += rtc_static_irq_stubs.o
obj-$(CONFIG_RTC_DW) += rtc_dw.o
+obj-$(CONFIG_RTC_QMSI) += rtc_qmsi.o