e9de58a2e2944eddba6a1b4df0fe27ee7684d825
[linux-2.6.git] / arch / arm / plat-samsung / Makefile
1 # arch/arm/plat-s3c64xx/Makefile
2 #
3 # Copyright 2009 Simtec Electronics
4 #
5 # Licensed under GPLv2
6
7 obj-y                           :=
8 obj-m                           :=
9 obj-n                           := dummy.o
10 obj-                            :=
11
12 # Objects we always build independent of SoC choice
13
14 obj-y                           += init.o
15 obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET)   += time.o
16 obj-y                           += clock.o
17 obj-y                           += pwm-clock.o
18 obj-y                           += gpio.o
19 obj-y                           += gpio-config.o
20 obj-y                           += dev-asocdma.o
21
22 obj-$(CONFIG_SAMSUNG_GPIOLIB_4BIT)      += gpiolib.o
23 obj-$(CONFIG_SAMSUNG_CLKSRC)    += clock-clksrc.o
24
25 obj-$(CONFIG_SAMSUNG_IRQ_UART)  += irq-uart.o
26 obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
27
28 # ADC
29
30 obj-$(CONFIG_S3C_ADC)   += adc.o
31
32 # devices
33
34 obj-y                           += platformdata.o
35
36 obj-$(CONFIG_S3C_DEV_HSMMC)     += dev-hsmmc.o
37 obj-$(CONFIG_S3C_DEV_HSMMC1)    += dev-hsmmc1.o
38 obj-$(CONFIG_S3C_DEV_HSMMC2)    += dev-hsmmc2.o
39 obj-$(CONFIG_S3C_DEV_HSMMC3)    += dev-hsmmc3.o
40 obj-$(CONFIG_S3C_DEV_HWMON)     += dev-hwmon.o
41 obj-y                           += dev-i2c0.o
42 obj-$(CONFIG_S3C_DEV_I2C1)      += dev-i2c1.o
43 obj-$(CONFIG_S3C_DEV_I2C2)      += dev-i2c2.o
44 obj-$(CONFIG_S3C_DEV_I2C3)      += dev-i2c3.o
45 obj-$(CONFIG_S3C_DEV_I2C4)      += dev-i2c4.o
46 obj-$(CONFIG_S3C_DEV_I2C5)      += dev-i2c5.o
47 obj-$(CONFIG_S3C_DEV_I2C6)      += dev-i2c6.o
48 obj-$(CONFIG_S3C_DEV_I2C7)      += dev-i2c7.o
49 obj-$(CONFIG_S3C_DEV_FB)        += dev-fb.o
50 obj-y                           += dev-uart.o
51 obj-$(CONFIG_S3C_DEV_USB_HOST)  += dev-usb.o
52 obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
53 obj-$(CONFIG_S3C_DEV_WDT)       += dev-wdt.o
54 obj-$(CONFIG_S3C_DEV_NAND)      += dev-nand.o
55 obj-$(CONFIG_S3C_DEV_ONENAND)   += dev-onenand.o
56 obj-$(CONFIG_S3C_DEV_RTC)       += dev-rtc.o
57
58 obj-$(CONFIG_SAMSUNG_DEV_ADC)   += dev-adc.o
59 obj-$(CONFIG_SAMSUNG_DEV_IDE)   += dev-ide.o
60 obj-$(CONFIG_SAMSUNG_DEV_TS)    += dev-ts.o
61 obj-$(CONFIG_SAMSUNG_DEV_KEYPAD)        += dev-keypad.o
62 obj-$(CONFIG_SAMSUNG_DEV_PWM)   += dev-pwm.o
63
64 # DMA support
65
66 obj-$(CONFIG_S3C_DMA)           += dma.o
67
68 obj-$(CONFIG_S3C_PL330_DMA)     += s3c-pl330.o
69
70 # PM support
71
72 obj-$(CONFIG_PM)                += pm.o
73 obj-$(CONFIG_PM)                += pm-gpio.o
74 obj-$(CONFIG_SAMSUNG_PM_CHECK)  += pm-check.o
75
76 obj-$(CONFIG_SAMSUNG_WAKEMASK)  += wakeup-mask.o
77
78 # PD support
79
80 obj-$(CONFIG_SAMSUNG_PD)        += pd.o
81
82 # PWM support
83
84 obj-$(CONFIG_HAVE_PWM)          += pwm.o