1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright (c) 2012 Samsung Electronics Co., Ltd.
4#		http://www.samsung.com/
5#
6# Copyright 2007 Simtec Electronics
7
8# core
9
10obj-y				+= s3c24xx.o
11obj-y				+= irq-s3c24xx.o
12obj-$(CONFIG_SPI_S3C24XX_FIQ)	+= irq-s3c24xx-fiq.o
13obj-$(CONFIG_SPI_S3C24XX_FIQ)	+= irq-s3c24xx-fiq-exports.o
14
15obj-$(CONFIG_CPU_S3C2410)	+= s3c2410.o
16obj-$(CONFIG_S3C2410_PLL)	+= pll-s3c2410.o
17obj-$(CONFIG_S3C2410_PM)	+= pm-s3c2410.o sleep-s3c2410.o
18
19obj-$(CONFIG_CPU_S3C2412)	+= s3c2412.o
20obj-$(CONFIG_S3C2412_PM)	+= pm-s3c2412.o
21obj-$(CONFIG_S3C2412_PM_SLEEP)	+= sleep-s3c2412.o
22
23obj-$(CONFIG_CPU_S3C2416)	+= s3c2416.o
24obj-$(CONFIG_S3C2416_PM)	+= pm-s3c2416.o
25
26obj-$(CONFIG_CPU_S3C2440)	+= s3c2440.o
27obj-$(CONFIG_CPU_S3C2442)	+= s3c2442.o
28obj-$(CONFIG_CPU_S3C244X)	+= s3c244x.o
29obj-$(CONFIG_S3C2440_PLL_12000000) += pll-s3c2440-12000000.o
30obj-$(CONFIG_S3C2440_PLL_16934400) += pll-s3c2440-16934400.o
31
32obj-$(CONFIG_CPU_S3C2443)	+= s3c2443.o
33
34# PM
35
36obj-$(CONFIG_PM)		+= pm-s3c24xx.o
37obj-$(CONFIG_PM_SLEEP)		+= irq-pm-s3c24xx.o sleep-s3c24xx.o
38
39# common code
40
41obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += cpufreq-utils-s3c24xx.o
42
43obj-$(CONFIG_S3C2410_IOTIMING)	+= iotiming-s3c2410.o
44obj-$(CONFIG_S3C2412_IOTIMING)	+= iotiming-s3c2412.o
45
46#
47# machine support
48# following is ordered alphabetically by option text.
49#
50
51obj-$(CONFIG_MACH_AML_M5900)		+= mach-amlm5900.o
52obj-$(CONFIG_ARCH_BAST)			+= mach-bast.o
53obj-$(CONFIG_BAST_PC104_IRQ)		+= bast-irq.o
54obj-$(CONFIG_ARCH_H1940)		+= mach-h1940.o
55obj-$(CONFIG_H1940BT)			+= h1940-bluetooth.o
56obj-$(CONFIG_PM_H1940)			+= pm-h1940.o
57obj-$(CONFIG_MACH_N30)			+= mach-n30.o
58obj-$(CONFIG_MACH_OTOM)			+= mach-otom.o
59obj-$(CONFIG_MACH_QT2410)		+= mach-qt2410.o
60obj-$(CONFIG_ARCH_SMDK2410)		+= mach-smdk2410.o
61obj-$(CONFIG_MACH_TCT_HAMMER)		+= mach-tct_hammer.o
62obj-$(CONFIG_MACH_VR1000)		+= mach-vr1000.o
63
64obj-$(CONFIG_MACH_JIVE)			+= mach-jive.o
65obj-$(CONFIG_MACH_SMDK2413)		+= mach-smdk2413.o
66obj-$(CONFIG_MACH_VSTMS)		+= mach-vstms.o
67
68obj-$(CONFIG_MACH_SMDK2416)		+= mach-smdk2416.o
69obj-$(CONFIG_MACH_S3C2416_DT)		+= mach-s3c2416-dt.o
70
71obj-$(CONFIG_MACH_ANUBIS)		+= mach-anubis.o
72obj-$(CONFIG_MACH_AT2440EVB)		+= mach-at2440evb.o
73obj-$(CONFIG_MACH_MINI2440)		+= mach-mini2440.o
74obj-$(CONFIG_MACH_NEXCODER_2440)	+= mach-nexcoder.o
75obj-$(CONFIG_MACH_OSIRIS)		+= mach-osiris.o
76obj-$(CONFIG_MACH_RX3715)		+= mach-rx3715.o
77obj-$(CONFIG_ARCH_S3C2440)		+= mach-smdk2440.o
78
79obj-$(CONFIG_MACH_NEO1973_GTA02)	+= mach-gta02.o
80obj-$(CONFIG_MACH_RX1950)		+= mach-rx1950.o
81
82obj-$(CONFIG_MACH_SMDK2443)		+= mach-smdk2443.o
83
84# common bits of machine support
85
86obj-$(CONFIG_S3C24XX_SMDK)		+= common-smdk-s3c24xx.o
87obj-$(CONFIG_S3C24XX_SIMTEC_AUDIO)	+= simtec-audio.o
88obj-$(CONFIG_S3C24XX_SIMTEC_NOR)	+= simtec-nor.o
89obj-$(CONFIG_S3C24XX_SIMTEC_PM)		+= simtec-pm.o
90obj-$(CONFIG_S3C24XX_SIMTEC_USB)	+= simtec-usb.o
91
92# machine additions
93
94obj-$(CONFIG_MACH_BAST_IDE)		+= bast-ide.o
95obj-$(CONFIG_MACH_OSIRIS_DVS)		+= mach-osiris-dvs.o
96
97# device setup
98
99obj-$(CONFIG_S3C2416_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c24xx.o
100obj-$(CONFIG_S3C2443_SETUP_SPI)		+= setup-spi-s3c24xx.o
101obj-$(CONFIG_ARCH_S3C24XX)		+= setup-i2c-s3c24xx.o
102obj-$(CONFIG_S3C24XX_SETUP_TS)		+= setup-ts-s3c24xx.o
103