blob: b1d82cc5e716cc87fd75440eed3f117f0b5b4fb9 [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
Marek Szyprowskic8d833b2010-05-20 08:13:06 +020039obj-$(CONFIG_S3C_DEV_I2C2) += dev-i2c2.o
Ben Dooksb6a60412010-01-06 02:45:09 +090040obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
Ben Dooks0a636132010-01-12 15:15:28 +090041obj-y += dev-uart.o
Ben Dooksb6a60412010-01-06 02:45:09 +090042obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
43obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
Banajit Goswamie1d5c932010-05-19 15:42:29 +090044obj-$(CONFIG_S3C_DEV_WDT) += dev-wdt.o
Ben Dooksb6a60412010-01-06 02:45:09 +090045obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
Marek Szyprowski999304b2010-05-20 08:59:05 +020046obj-$(CONFIG_S3C_DEV_ONENAND) += dev-onenand.o
Atul Dahiyaadc0950c2010-05-18 14:58:56 +090047obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090048
Naveen Krishna4f7cdc32010-05-13 22:06:36 +090049obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
Ben Dooks2b6c02a2010-05-19 14:36:28 +090050obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
Ben Dooks67866fb2010-01-18 10:47:45 +090051
Ben Dooks2c420fe2010-01-29 09:02:15 +000052# DMA support
53
54obj-$(CONFIG_S3C_DMA) += dma.o
55
Jassi Brard800ede2010-05-18 11:59:06 +090056obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
57
Ben Dooks67866fb2010-01-18 10:47:45 +090058# PM support
59
Ben Dooks806c17b2010-01-29 09:02:14 +000060obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090061obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090062obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090063
Ben Dooks0317e522010-05-20 14:05:33 +090064obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
65
Ben Dooks106cc6a2010-01-20 12:22:24 +090066# PWM support
67
68obj-$(CONFIG_HAVE_PWM) += pwm.o