blob: c2064c30871926e35a3785017c4c10604e5ba3e5 [file] [log] [blame]
Ben Dooksa21765a2007-02-11 18:31:01 +01001# arch/arm/plat-s3c24xx/Makefile
2#
3# Copyright 2007 Simtec Electronics
4#
5# Licensed under GPLv2
6
7obj-y :=
8obj-m :=
9obj-n :=
10obj- :=
11
12
13# Core files
14
15obj-y += cpu.o
16obj-y += irq.o
17obj-y += devs.o
18obj-y += gpio.o
Ben Dooksf348a2a2008-07-03 11:24:25 +010019obj-y += gpiolib.o
Ben Dooksa21765a2007-02-11 18:31:01 +010020obj-y += clock.o
Ben Dooks93bc6b62008-10-21 14:06:33 +010021obj-$(CONFIG_S3C24XX_DCLK) += clock-dclk.o
Ben Dooksa21765a2007-02-11 18:31:01 +010022
Ben Dooks2e4ea6e2009-07-30 23:23:21 +010023obj-$(CONFIG_CPU_FREQ_S3C24XX) += cpu-freq.o
Ben Dookse6d197a2009-07-30 23:23:42 +010024obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpu-freq-debugfs.o
Ben Dooks2e4ea6e2009-07-30 23:23:21 +010025
Ben Dooksa21765a2007-02-11 18:31:01 +010026# Architecture dependant builds
27
Ben Dooksa21765a2007-02-11 18:31:01 +010028obj-$(CONFIG_PM_SIMTEC) += pm-simtec.o
29obj-$(CONFIG_PM) += pm.o
Ben Dooks65fa22b2008-12-12 00:24:10 +000030obj-$(CONFIG_PM) += irq-pm.o
Ben Dooksa21765a2007-02-11 18:31:01 +010031obj-$(CONFIG_PM) += sleep.o
Ben Dooks1b3ba682008-10-21 14:06:22 +010032obj-$(CONFIG_S3C2410_CLOCK) += s3c2410-clock.o
Ben Dooksaf337f32010-04-28 18:03:57 +090033obj-$(CONFIG_S3C2443_CLOCK) += s3c2443-clock.o
Ben Dooksa21765a2007-02-11 18:31:01 +010034obj-$(CONFIG_S3C2410_DMA) += dma.o
Ben Dooks831a6fc2009-07-30 23:23:26 +010035obj-$(CONFIG_S3C2410_IOTIMING) += s3c2410-iotiming.o
Ben Dooks140780a2009-07-30 23:23:37 +010036obj-$(CONFIG_S3C2412_IOTIMING) += s3c2412-iotiming.o
Ben Dooksa24c0912009-07-30 23:23:27 +010037obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += s3c2410-cpufreq-utils.o
Ben Dooksb2a6cf32008-10-21 14:06:20 +010038
Ben Dooks3e1b7762008-10-31 16:14:40 +000039# device specific setup and/or initialisation
40obj-$(CONFIG_ARCH_S3C2410) += setup-i2c.o
Naveen Krishna5bfdca12010-05-18 20:44:27 +090041obj-$(CONFIG_S3C2410_SETUP_TS) += setup-ts.o
Ben Dooks3e1b7762008-10-31 16:14:40 +000042
Ben Dooksb2a6cf32008-10-21 14:06:20 +010043# SPI gpio central GPIO functions
44
45obj-$(CONFIG_S3C24XX_SPI_BUS0_GPE11_GPE12_GPE13) += spi-bus0-gpe11_12_13.o
46obj-$(CONFIG_S3C24XX_SPI_BUS1_GPG5_GPG6_GPG7) += spi-bus1-gpg5_6_7.o
Ben Dooksa2c195f2009-08-03 17:26:50 +010047obj-$(CONFIG_S3C24XX_SPI_BUS1_GPD8_GPD9_GPD10) += spi-bus1-gpd8_9_10.o
Ben Dooksb2a6cf32008-10-21 14:06:20 +010048
49# machine common support
50
Ben Dooksa21765a2007-02-11 18:31:01 +010051obj-$(CONFIG_MACH_SMDK) += common-smdk.o
Ben Dooks4d3a3462009-11-13 22:34:20 +000052obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o