blob: 48288499a3b9f8a3a2fceb5be1d5047f88fcd7c1 [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
Maurus Cuelenaere6cd82ff2010-05-04 13:12:32 +020036obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
Ben Dooksb6a60412010-01-06 02:45:09 +090037obj-y += dev-i2c0.o
38obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
39obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
Ben Dooks0a636132010-01-12 15:15:28 +090040obj-y += dev-uart.o
Ben Dooksb6a60412010-01-06 02:45:09 +090041obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
42obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
43obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
Atul Dahiyaadc0950c2010-05-18 14:58:56 +090044obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090045
Naveen Krishna4f7cdc32010-05-13 22:06:36 +090046obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
Ben Dooks2b6c02a2010-05-19 14:36:28 +090047obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
Ben Dooks67866fb2010-01-18 10:47:45 +090048
Ben Dooks2c420fe2010-01-29 09:02:15 +000049# DMA support
50
51obj-$(CONFIG_S3C_DMA) += dma.o
52
Jassi Brard800ede2010-05-18 11:59:06 +090053obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
54
Ben Dooks67866fb2010-01-18 10:47:45 +090055# PM support
56
Ben Dooks806c17b2010-01-29 09:02:14 +000057obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090058obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090059obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090060
61# PWM support
62
63obj-$(CONFIG_HAVE_PWM) += pwm.o