blob: afcce474af8e86d692a5a579387055bcf808cc3c [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
Changhwan Youncfca3a62010-07-26 21:13:08 +090015obj-$(CONFIG_ARCH_USES_GETTIMEOFFSET) += 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
Hyuk Leeb3c674b2010-06-10 15:22:16 +090038obj-$(CONFIG_S3C_DEV_HSMMC3) += dev-hsmmc3.o
Maurus Cuelenaere6cd82ff2010-05-04 13:12:32 +020039obj-$(CONFIG_S3C_DEV_HWMON) += dev-hwmon.o
Ben Dooksb6a60412010-01-06 02:45:09 +090040obj-y += dev-i2c0.o
41obj-$(CONFIG_S3C_DEV_I2C1) += dev-i2c1.o
Marek Szyprowskic8d833b2010-05-20 08:13:06 +020042obj-$(CONFIG_S3C_DEV_I2C2) += dev-i2c2.o
Kyungmin Parkb7a98252010-10-12 07:49:24 +090043obj-$(CONFIG_S3C_DEV_I2C3) += dev-i2c3.o
44obj-$(CONFIG_S3C_DEV_I2C4) += dev-i2c4.o
45obj-$(CONFIG_S3C_DEV_I2C5) += dev-i2c5.o
46obj-$(CONFIG_S3C_DEV_I2C6) += dev-i2c6.o
47obj-$(CONFIG_S3C_DEV_I2C7) += dev-i2c7.o
Ben Dooksb6a60412010-01-06 02:45:09 +090048obj-$(CONFIG_S3C_DEV_FB) += dev-fb.o
Ben Dooks0a636132010-01-12 15:15:28 +090049obj-y += dev-uart.o
Ben Dooksb6a60412010-01-06 02:45:09 +090050obj-$(CONFIG_S3C_DEV_USB_HOST) += dev-usb.o
51obj-$(CONFIG_S3C_DEV_USB_HSOTG) += dev-usb-hsotg.o
Banajit Goswamie1d5c932010-05-19 15:42:29 +090052obj-$(CONFIG_S3C_DEV_WDT) += dev-wdt.o
Ben Dooksb6a60412010-01-06 02:45:09 +090053obj-$(CONFIG_S3C_DEV_NAND) += dev-nand.o
Marek Szyprowski999304b2010-05-20 08:59:05 +020054obj-$(CONFIG_S3C_DEV_ONENAND) += dev-onenand.o
Atul Dahiyaadc0950c2010-05-18 14:58:56 +090055obj-$(CONFIG_S3C_DEV_RTC) += dev-rtc.o
Ben Dooks67866fb2010-01-18 10:47:45 +090056
Naveen Krishna4f7cdc32010-05-13 22:06:36 +090057obj-$(CONFIG_SAMSUNG_DEV_ADC) += dev-adc.o
Abhilash Kesavandb900052010-06-08 16:38:20 +090058obj-$(CONFIG_SAMSUNG_DEV_IDE) += dev-ide.o
Ben Dooks2b6c02a2010-05-19 14:36:28 +090059obj-$(CONFIG_SAMSUNG_DEV_TS) += dev-ts.o
Joonyoung Shim995c48a2010-08-06 19:26:10 +090060obj-$(CONFIG_SAMSUNG_DEV_KEYPAD) += dev-keypad.o
Ben Dooks67866fb2010-01-18 10:47:45 +090061
Ben Dooks2c420fe2010-01-29 09:02:15 +000062# DMA support
63
64obj-$(CONFIG_S3C_DMA) += dma.o
65
Jassi Brard800ede2010-05-18 11:59:06 +090066obj-$(CONFIG_S3C_PL330_DMA) += s3c-pl330.o
67
Ben Dooks67866fb2010-01-18 10:47:45 +090068# PM support
69
Ben Dooks806c17b2010-01-29 09:02:14 +000070obj-$(CONFIG_PM) += pm.o
Ben Dooks67866fb2010-01-18 10:47:45 +090071obj-$(CONFIG_PM) += pm-gpio.o
Ben Dooks80057452010-01-20 12:29:25 +090072obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
Ben Dooks106cc6a2010-01-20 12:22:24 +090073
Ben Dooks0317e522010-05-20 14:05:33 +090074obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
75
Ben Dooks106cc6a2010-01-20 12:22:24 +090076# PWM support
77
78obj-$(CONFIG_HAVE_PWM) += pwm.o