blob: 6de730bada4d3f37acb323bca4433b4eb1ac09cf [file] [log] [blame]
Kukjin Kim85fd6d62012-02-06 09:38:19 +09001# arch/arm/mach-s3c24xx/Makefile
2#
3# Copyright (c) 2012 Samsung Electronics Co., Ltd.
4# http://www.samsung.com/
5#
6# Copyright 2007 Simtec Electronics
7#
8# Licensed under GPLv2
9
10obj-y :=
11obj-m :=
12obj-n :=
13obj- :=
14
15# core
16
Heiko Stuebner8a407832013-04-04 14:53:33 +090017obj-y += common.o
Heiko Stuebner4a9f52f2012-05-12 16:22:17 +090018
Kukjin Kim85fd6d62012-02-06 09:38:19 +090019obj-$(CONFIG_CPU_S3C2410) += s3c2410.o
Kukjin Kim98713e42013-01-21 14:51:08 -080020obj-$(CONFIG_S3C2410_CPUFREQ) += cpufreq-s3c2410.o
Kukjin Kim85fd6d62012-02-06 09:38:19 +090021obj-$(CONFIG_S3C2410_DMA) += dma-s3c2410.o
Kukjin Kim82c18712013-01-21 15:16:35 -080022obj-$(CONFIG_S3C2410_PLL) += pll-s3c2410.o
Kukjin Kim85fd6d62012-02-06 09:38:19 +090023obj-$(CONFIG_S3C2410_PM) += pm-s3c2410.o sleep-s3c2410.o
24
Heiko Stuebnerd3d5a2c2013-02-12 10:09:13 -080025obj-$(CONFIG_CPU_S3C2412) += s3c2412.o clock-s3c2412.o
Kukjin Kimdbb8fd32013-01-21 15:24:34 -080026obj-$(CONFIG_S3C2412_CPUFREQ) += cpufreq-s3c2412.o
Kukjin Kim85e2a262012-02-06 10:02:01 +090027obj-$(CONFIG_S3C2412_DMA) += dma-s3c2412.o
28obj-$(CONFIG_S3C2412_PM) += pm-s3c2412.o
29obj-$(CONFIG_S3C2412_PM_SLEEP) += sleep-s3c2412.o
30
Heiko Stuebneref602eb2013-01-29 10:25:22 -080031obj-$(CONFIG_CPU_S3C2416) += s3c2416.o clock-s3c2416.o
Kukjin Kim26febf82012-02-06 10:59:47 +090032obj-$(CONFIG_S3C2416_PM) += pm-s3c2416.o
33
Heiko Stuebner2286cf42013-02-12 09:59:24 -080034obj-$(CONFIG_CPU_S3C2440) += s3c2440.o clock-s3c2440.o
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090035obj-$(CONFIG_CPU_S3C2442) += s3c2442.o
Heiko Stuebner6f8d7ea2013-02-12 09:59:17 -080036obj-$(CONFIG_CPU_S3C244X) += s3c244x.o clock-s3c244x.o
Kukjin Kim5aa93c02013-01-21 15:34:19 -080037obj-$(CONFIG_S3C2440_CPUFREQ) += cpufreq-s3c2440.o
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090038obj-$(CONFIG_S3C2440_DMA) += dma-s3c2440.o
Kukjin Kimacf2d412013-01-21 15:39:09 -080039obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o
40obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090041
Heiko Stuebner6b628912013-01-29 10:25:22 -080042obj-$(CONFIG_CPU_S3C2443) += s3c2443.o clock-s3c2443.o
Kukjin Kim84c028b2012-02-06 13:21:03 +090043
Heiko Stuebnerde7bfff2012-05-12 16:22:18 +090044# PM
45
46obj-$(CONFIG_PM) += pm.o irq-pm.o sleep.o
47
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090048# common code
49
Kukjin Kim09ec1d72013-01-31 16:54:38 -080050obj-$(CONFIG_S3C24XX_DCLK) += clock-dclk.o
51obj-$(CONFIG_S3C24XX_DMA) += dma.o
52
53obj-$(CONFIG_S3C2410_CLOCK) += clock-s3c2410.o
54obj-$(CONFIG_S3C2410_CPUFREQ_UTILS) += cpufreq-utils.o
55
56obj-$(CONFIG_S3C2410_IOTIMING) += iotiming-s3c2410.o
57obj-$(CONFIG_S3C2412_IOTIMING) += iotiming-s3c2412.o
58
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090059obj-$(CONFIG_S3C2443_COMMON) += common-s3c2443.o
Heiko Stuebner46cdaba2012-03-07 01:53:17 -080060obj-$(CONFIG_S3C2443_DMA) += dma-s3c2443.o
Heiko Stuebner8c3d7c32012-03-03 07:49:12 +090061
Kukjin Kim09ec1d72013-01-31 16:54:38 -080062obj-$(CONFIG_CPU_FREQ_S3C24XX) += cpufreq.o
63obj-$(CONFIG_CPU_FREQ_S3C24XX_DEBUGFS) += cpufreq-debugfs.o
64
Kukjin Kim85fd6d62012-02-06 09:38:19 +090065#
66# machine support
67# following is ordered alphabetically by option text.
68#
69
70obj-$(CONFIG_MACH_AML_M5900) += mach-amlm5900.o
Heiko Stuebnerec2cc752012-03-07 01:47:11 -080071obj-$(CONFIG_ARCH_BAST) += mach-bast.o
Kukjin Kim85fd6d62012-02-06 09:38:19 +090072obj-$(CONFIG_BAST_PC104_IRQ) += bast-irq.o
73obj-$(CONFIG_ARCH_H1940) += mach-h1940.o
74obj-$(CONFIG_H1940BT) += h1940-bluetooth.o
75obj-$(CONFIG_PM_H1940) += pm-h1940.o
76obj-$(CONFIG_MACH_N30) += mach-n30.o
77obj-$(CONFIG_MACH_OTOM) += mach-otom.o
78obj-$(CONFIG_MACH_QT2410) += mach-qt2410.o
79obj-$(CONFIG_ARCH_SMDK2410) += mach-smdk2410.o
80obj-$(CONFIG_MACH_TCT_HAMMER) += mach-tct_hammer.o
Heiko Stuebnerec2cc752012-03-07 01:47:11 -080081obj-$(CONFIG_MACH_VR1000) += mach-vr1000.o
Kukjin Kim85fd6d62012-02-06 09:38:19 +090082
Kukjin Kim85e2a262012-02-06 10:02:01 +090083obj-$(CONFIG_MACH_JIVE) += mach-jive.o
84obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o
85obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o
86
Kukjin Kim26febf82012-02-06 10:59:47 +090087obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o
Heiko Stuebner35aca362013-05-21 01:06:04 +090088obj-$(CONFIG_MACH_S3C2416_DT) += mach-s3c2416-dt.o
Kukjin Kim26febf82012-02-06 10:59:47 +090089
Kukjin Kimdd6f01b2012-02-06 13:10:11 +090090obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o
91obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o
92obj-$(CONFIG_MACH_MINI2440) += mach-mini2440.o
93obj-$(CONFIG_MACH_NEXCODER_2440) += mach-nexcoder.o
94obj-$(CONFIG_MACH_OSIRIS) += mach-osiris.o
95obj-$(CONFIG_MACH_RX3715) += mach-rx3715.o
96obj-$(CONFIG_ARCH_S3C2440) += mach-smdk2440.o
97
98obj-$(CONFIG_MACH_NEO1973_GTA02) += mach-gta02.o
99obj-$(CONFIG_MACH_RX1950) += mach-rx1950.o
100
Kukjin Kim84c028b2012-02-06 13:21:03 +0900101obj-$(CONFIG_MACH_SMDK2443) += mach-smdk2443.o
102
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900103# common bits of machine support
104
Heiko Stuebner28c569f2012-03-07 01:47:01 -0800105obj-$(CONFIG_S3C24XX_SMDK) += common-smdk.o
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800106obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO) += simtec-audio.o
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800107obj-$(CONFIG_S3C24XX_SIMTEC_NOR) += simtec-nor.o
Heiko Stuebner9072dc92012-03-07 01:47:05 -0800108obj-$(CONFIG_S3C24XX_SIMTEC_PM) += simtec-pm.o
Heiko Stuebnerec2cc752012-03-07 01:47:11 -0800109obj-$(CONFIG_S3C24XX_SIMTEC_USB) += simtec-usb.o
Kukjin Kim85fd6d62012-02-06 09:38:19 +0900110
111# machine additions
112
113obj-$(CONFIG_MACH_BAST_IDE) += bast-ide.o
Kukjin Kimdd6f01b2012-02-06 13:10:11 +0900114obj-$(CONFIG_MACH_OSIRIS_DVS) += mach-osiris-dvs.o
Kukjin Kim26febf82012-02-06 10:59:47 +0900115
116# device setup
117
118obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
Heiko Stuebnerf03eb252012-04-24 18:07:10 -0700119obj-$(CONFIG_S3C2443_SETUP_SPI) += setup-spi.o
Heiko Stuebner2c5689a2012-03-07 01:47:15 -0800120obj-$(CONFIG_ARCH_S3C24XX) += setup-i2c.o
121obj-$(CONFIG_S3C24XX_SETUP_TS) += setup-ts.o