blob: b549ea9cfe0946c74993c7d72051fc6a7ffc33c3 [file] [log] [blame]
Kukjin Kim61c542b2011-10-03 09:46:13 +09001# arch/arm/plat-samsung/Makefile
Ben Dookscf383672009-11-10 00:14:58 +00002#
3# Copyright 2009 Simtec Electronics
4#
5# Licensed under GPLv2
6
7obj-y :=
8obj-m :=
9obj-n := dummy.o
10obj- :=
11
Ben Dooks2c2f69b2009-12-23 18:43:48 +000012# Objects we always build independent of SoC choice
13
Kukjin Kime6d1cb92011-08-20 12:18:07 +090014obj-y += init.o cpu.o
Romain Naourc1fcd402013-01-09 18:47:03 -080015obj-$(CONFIG_SAMSUNG_HRT) += samsung-time.o
Kukjin Kim33bf3322012-04-17 11:20:49 -070016
Mark Brown2aa1ecf2012-07-12 16:57:19 +090017obj-$(CONFIG_SAMSUNG_CLOCK) += clock.o
18obj-$(CONFIG_SAMSUNG_CLOCK) += pwm-clock.o
Ben Dooks2c2f69b2009-12-23 18:43:48 +000019
Harald Welteaa9ad6a2009-12-01 01:24:34 +000020obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
Kukjin Kimbf46aae2012-04-15 21:13:29 -070021obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o
Ben Dooksb6a60412010-01-06 02:45:09 +090022
Ben Dooks7162ba02010-01-06 10:14:51 +090023obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
Kukjin Kim68ae8992012-04-15 21:40:33 -070024obj-$(CONFIG_S5P_IRQ) += s5p-irq.o
25obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o
26obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o
Ben Dooks7162ba02010-01-06 10:14:51 +090027
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010028# ADC
29
30obj-$(CONFIG_S3C_ADC) += adc.o
31
Ben Dooksb6a60412010-01-06 02:45:09 +090032# devices
33
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090034obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
Ben Dooks3911dab2010-06-10 12:57:15 +090035
Tomasz Figacd8dc7a2013-06-15 09:01:49 +090036obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
37obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070038obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
Kukjin Kimcfe370f2012-04-17 20:05:19 -070039obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o
Ben Dooks67866fb2010-01-18 10:47:45 +090040
Banajit Goswamif00207b2011-07-20 23:44:21 +090041obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
Ben Dooks67866fb2010-01-18 10:47:45 +090042
Sylwester Nawrockie51d5482012-11-22 14:29:18 +090043obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070044obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o
45
Ben Dooks2c420fe2010-01-29 09:02:15 +000046# DMA support
47
Boojin Kimc4e16622011-09-02 09:44:35 +090048obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
Ben Dooks2c420fe2010-01-29 09:02:15 +000049
Boojin Kimc4e16622011-09-02 09:44:35 +090050obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
Jassi Brard800ede2010-05-18 11:59:06 +090051
Ben Dooks67866fb2010-01-18 10:47:45 +090052# PM support
Olof Johansson4923ee42013-04-26 11:32:02 -070053
Ben Dooks806c17b2010-01-29 09:02:14 +000054obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090055obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090056obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090057
Ben Dooks0317e522010-05-20 14:05:33 +090058obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
59
Kukjin Kim8eadcf72012-04-15 21:57:38 -070060obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
61obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o