blob: 228c2add1e2ed750569b682c57c8261ceb0254e2 [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
Ben Dooks3911dab2010-06-10 12:57:15 +090033obj-y += platformdata.o
34
Ben Dooksb6a60412010-01-06 02:45:09 +090035obj-$(CONFIG_S3C_DEV_HSMMC) += dev-hsmmc.o
36obj-$(CONFIG_S3C_DEV_HSMMC1) += dev-hsmmc1.o
37obj-$(CONFIG_S3C_DEV_HSMMC2) += dev-hsmmc2.o
Maurus Cuelenaere6cd82ff2010-05-04 13:12:32 +020038obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
Ben Dooksb6a60412010-01-06 02:45:09 +090039obj-y += dev-i2c0.o
40obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
Marek Szyprowskic8d833b2010-05-20 08:13:06 +020041obj-$(CONFIG_S3C_DEV_I2C2) += dev-i2c2.o
Ben Dooksb6a60412010-01-06 02:45:09 +090042obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
Ben Dooks0a636132010-01-12 15:15:28 +090043obj-y += dev-uart.o
Ben Dooksb6a60412010-01-06 02:45:09 +090044obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
45obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
Banajit Goswamie1d5c932010-05-19 15:42:29 +090046obj-$(CONFIG_S3C_DEV_WDT) += dev-wdt.o
Ben Dooksb6a60412010-01-06 02:45:09 +090047obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
Marek Szyprowski999304b2010-05-20 08:59:05 +020048obj-$(CONFIG_S3C_DEV_ONENAND) += dev-onenand.o
Atul Dahiyaadc0950c2010-05-18 14:58:56 +090049obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090050
Naveen Krishna4f7cdc32010-05-13 22:06:36 +090051obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
Ben Dooks2b6c02a2010-05-19 14:36:28 +090052obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
Ben Dooks67866fb2010-01-18 10:47:45 +090053
Ben Dooks2c420fe2010-01-29 09:02:15 +000054# DMA support
55
56obj-$(CONFIG_S3C_DMA) += dma.o
57
Jassi Brard800ede2010-05-18 11:59:06 +090058obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
59
Ben Dooks67866fb2010-01-18 10:47:45 +090060# PM support
61
Ben Dooks806c17b2010-01-29 09:02:14 +000062obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090063obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090064obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090065
Ben Dooks0317e522010-05-20 14:05:33 +090066obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
67
Ben Dooks106cc6a2010-01-20 12:22:24 +090068# PWM support
69
70obj-$(CONFIG_HAVE_PWM) += pwm.o