1# SPDX-License-Identifier: GPL-2.0
2#
3# Copyright 2008 Openmoko, Inc.
4# Copyright 2008 Simtec Electronics
5
6ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
7asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
8
9# PM
10
11obj-$(CONFIG_PM)		+= pm-s3c64xx.o
12obj-$(CONFIG_PM_SLEEP)		+= sleep-s3c64xx.o
13obj-$(CONFIG_CPU_IDLE)		+= cpuidle-s3c64xx.o
14
15ifdef CONFIG_SAMSUNG_ATAGS
16
17obj-$(CONFIG_PM_SLEEP)          += irq-pm-s3c64xx.o
18
19# Core
20
21obj-y				+= s3c64xx.o
22obj-$(CONFIG_CPU_S3C6400)	+= s3c6400.o
23obj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
24
25# DMA support
26
27obj-$(CONFIG_S3C64XX_PL080)	+= pl080.o
28
29# Device support
30
31obj-y				+= dev-uart-s3c64xx.o
32obj-y				+= dev-audio-s3c64xx.o
33
34# Device setup
35
36obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)	+= setup-fb-24bpp-s3c64xx.o
37obj-$(CONFIG_S3C64XX_SETUP_I2C0)	+= setup-i2c0-s3c64xx.o
38obj-$(CONFIG_S3C64XX_SETUP_I2C1)	+= setup-i2c1-s3c64xx.o
39obj-$(CONFIG_S3C64XX_SETUP_IDE)		+= setup-ide-s3c64xx.o
40obj-$(CONFIG_S3C64XX_SETUP_KEYPAD)	+= setup-keypad-s3c64xx.o
41obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c64xx.o
42obj-$(CONFIG_S3C64XX_SETUP_SPI)		+= setup-spi-s3c64xx.o
43obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o
44
45obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)	+= dev-backlight-s3c64xx.o
46
47# Machine support
48
49obj-$(CONFIG_MACH_ANW6410)		+= mach-anw6410.o
50obj-$(CONFIG_MACH_HMT)			+= mach-hmt.o
51obj-$(CONFIG_MACH_MINI6410)		+= mach-mini6410.o
52obj-$(CONFIG_MACH_NCP)			+= mach-ncp.o
53obj-$(CONFIG_MACH_REAL6410)		+= mach-real6410.o
54obj-$(CONFIG_MACH_SMARTQ)		+= mach-smartq.o
55obj-$(CONFIG_MACH_SMARTQ5)		+= mach-smartq5.o
56obj-$(CONFIG_MACH_SMARTQ7)		+= mach-smartq7.o
57obj-$(CONFIG_MACH_SMDK6400)		+= mach-smdk6400.o
58obj-$(CONFIG_MACH_SMDK6410)		+= mach-smdk6410.o
59obj-$(CONFIG_MACH_WLF_CRAGG_6410)	+= mach-crag6410.o mach-crag6410-module.o
60endif
61
62obj-$(CONFIG_MACH_S3C64XX_DT)		+= mach-s3c64xx-dt.o
63