blob: 3a7c64d1814a2edb92a01fcbe390189e005c1eb3 [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
Changhwan Youncfca3a62010-07-26 21:13:08 +090015obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += time.o
Kukjin Kim33bf3322012-04-17 11:20:49 -070016obj-$(CONFIG_S5P_HRT) += s5p-time.o
17
Mark Brown2aa1ecf2012-07-12 16:57:19 +090018obj-$(CONFIG_SAMSUNG_CLOCK) += clock.o
19obj-$(CONFIG_SAMSUNG_CLOCK) += pwm-clock.o
Ben Dooks2c2f69b2009-12-23 18:43:48 +000020
Harald Welteaa9ad6a2009-12-01 01:24:34 +000021obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
Kukjin Kimbf46aae2012-04-15 21:13:29 -070022obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o
Ben Dooksb6a60412010-01-06 02:45:09 +090023
Ben Dooks7162ba02010-01-06 10:14:51 +090024obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
Kukjin Kim68ae8992012-04-15 21:40:33 -070025obj-$(CONFIG_S5P_IRQ) += s5p-irq.o
26obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o
27obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o
Ben Dooks7162ba02010-01-06 10:14:51 +090028
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010029# ADC
30
31obj-$(CONFIG_S3C_ADC) += adc.o
32
Ben Dooksb6a60412010-01-06 02:45:09 +090033# devices
34
Ben Dooks3911dab2010-06-10 12:57:15 +090035obj-y += platformdata.o
36
Kukjin Kim61c542b2011-10-03 09:46:13 +090037obj-y += devs.o
Ben Dooks0a636132010-01-12 15:15:28 +090038obj-y += dev-uart.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070039obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
Kukjin Kimcfe370f2012-04-17 20:05:19 -070040obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o
Ben Dooks67866fb2010-01-18 10:47:45 +090041
Banajit Goswamif00207b2011-07-20 23:44:21 +090042obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
Ben Dooks67866fb2010-01-18 10:47:45 +090043
Sylwester Nawrockie51d5482012-11-22 14:29:18 +090044obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
Kukjin Kimd9c452f2012-04-17 20:21:30 -070045obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o
46
Ben Dooks2c420fe2010-01-29 09:02:15 +000047# DMA support
48
Boojin Kimc4e16622011-09-02 09:44:35 +090049obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
Ben Dooks2c420fe2010-01-29 09:02:15 +000050
Boojin Kimc4e16622011-09-02 09:44:35 +090051obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
Jassi Brard800ede2010-05-18 11:59:06 +090052
Ben Dooks67866fb2010-01-18 10:47:45 +090053# PM support
54
Ben Dooks806c17b2010-01-29 09:02:14 +000055obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090056obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090057obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090058
Ben Dooks0317e522010-05-20 14:05:33 +090059obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
60
Kukjin Kim8eadcf72012-04-15 21:57:38 -070061obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
62obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o