blob: 17883187c4cb32bc6be9a0ededa8cd08d74ec2bb [file] [log] [blame]
Ben Dooks431107e2010-01-26 10:11:04 +09001# arch/arm/mach-s3c64xx/Makefile
2#
3# Copyright 2008 Openmoko, Inc.
4# Copyright 2008 Simtec Electronics
5#
6# Licensed under GPLv2
7
8obj-y :=
9obj-m :=
10obj-n :=
11obj- :=
12
Ben Dooksf7be9ab2010-01-26 13:41:30 +090013# Core files
14obj-y += cpu.o
15obj-y += clock.o
16obj-y += gpiolib.o
17
Ben Dooks431107e2010-01-26 10:11:04 +090018# Core support for S3C6400 system
19
20obj-$(CONFIG_CPU_S3C6400) += s3c6400.o
21obj-$(CONFIG_CPU_S3C6410) += s3c6410.o
22
Ben Dooksed618af2010-01-26 11:07:23 +090023obj-y += irq.o
24obj-y += irq-eint.o
25
Ben Dooksf7be9ab2010-01-26 13:41:30 +090026# CPU frequency scaling
27
28obj-$(CONFIG_CPU_FREQ_S3C64XX) += cpufreq.o
29
30# DMA support
31
32obj-$(CONFIG_S3C64XX_DMA) += dma.o
33
Ben Dooks88fc68a2010-01-26 11:19:18 +090034# Device setup
Ben Dooks431107e2010-01-26 10:11:04 +090035
Ben Dooks88fc68a2010-01-26 11:19:18 +090036obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
37obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
Ben Dooks2f6c2ac2010-01-26 10:38:52 +090038obj-$(CONFIG_S3C64XX_SETUP_SDHCI) += setup-sdhci.o
Ben Dooks88fc68a2010-01-26 11:19:18 +090039obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
40obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
Ben Dooks431107e2010-01-26 10:11:04 +090041
Ben Dooksed618af2010-01-26 11:07:23 +090042# PM
43
Ben Dooksf7be9ab2010-01-26 13:41:30 +090044obj-$(CONFIG_PM) += pm.o
45obj-$(CONFIG_PM) += sleep.o
Ben Dooksed618af2010-01-26 11:07:23 +090046obj-$(CONFIG_PM) += irq-pm.o
47
Ben Dooks431107e2010-01-26 10:11:04 +090048# Machine support
49
50obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o
51obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o
52obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o
53obj-$(CONFIG_MACH_NCP) += mach-ncp.o
54obj-$(CONFIG_MACH_HMT) += mach-hmt.o
Ben Dooks88fc68a2010-01-26 11:19:18 +090055
56# device support
57
58obj-y += dev-uart.o
Mark Brown0ea53572010-03-05 10:47:23 +000059obj-y += dev-audio.o
Ben Dooks7f0ff702010-02-22 23:38:26 +000060obj-$(CONFIG_S3C64XX_DEV_SPI) += dev-spi.o
Maurus Cuelenaere909de0d2010-05-04 13:12:44 +020061obj-$(CONFIG_S3C64XX_DEV_TS) += dev-ts.o
Marek Szyprowski999304b2010-05-20 08:59:05 +020062obj-$(CONFIG_S3C64XX_DEV_ONENAND1) += dev-onenand1.o