blob: 05718a36d7460afe96f80ea05b45dcfb4d8d83e9 [file] [log] [blame]
Ben Dookscf383672009-11-10 00:14:58 +00001# arch/arm/plat-s3c64xx/Makefile
2#
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
Ben Dooks6c6971d2010-01-29 09:02:16 +000014obj-y += init.o
15obj-y += time.o
Ben Dooks2c2f69b2009-12-23 18:43:48 +000016obj-y += clock.o
Ben Dooks97456262010-01-06 02:39:28 +090017obj-y += pwm-clock.o
Ben Dooks4f2b6172010-01-18 11:22:38 +090018obj-y += gpio.o
Ben Dooks4f830db2010-01-06 02:28:20 +090019obj-y += gpio-config.o
Ben Dooks2c2f69b2009-12-23 18:43:48 +000020
Kukjin Kim1f323cf2010-01-19 15:30:54 +090021obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT) += gpiolib.o
Harald Welteaa9ad6a2009-12-01 01:24:34 +000022obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
Ben Dooksb6a60412010-01-06 02:45:09 +090023
Ben Dooks51022cf2010-01-06 11:18:44 +090024obj-$(CONFIG_SAMSUNG_IRQ_UART) += irq-uart.o
Ben Dooks7162ba02010-01-06 10:14:51 +090025obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
26
Maurus Cuelenaere3929e1e2010-01-14 00:30:31 +010027# ADC
28
29obj-$(CONFIG_S3C_ADC) += adc.o
30
Ben Dooksb6a60412010-01-06 02:45:09 +090031# devices
32
33obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o
34obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o
35obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o
36obj-y += dev-i2c0.o
37obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
38obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
Ben Dooks0a636132010-01-12 15:15:28 +090039obj-y += dev-uart.o
Ben Dooksb6a60412010-01-06 02:45:09 +090040obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
41obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
42obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
Ben Dooks67866fb2010-01-18 10:47:45 +090043
Ben Dooks2c420fe2010-01-29 09:02:15 +000044# DMA support
45
46obj-$(CONFIG_S3C_DMA) += dma.o
47
Jassi Brard800ede2010-05-18 11:59:06 +090048obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
49
Ben Dooks67866fb2010-01-18 10:47:45 +090050# PM support
51
Ben Dooks806c17b2010-01-29 09:02:14 +000052obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090053obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090054obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090055
56# PWM support
57
58obj-$(CONFIG_HAVE_PWM) += pwm.o