xref: /linux/arch/arm/mach-s3c/Makefile.s3c64xx (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1*71b9114dSArnd Bergmann# SPDX-License-Identifier: GPL-2.0
2*71b9114dSArnd Bergmann#
3*71b9114dSArnd Bergmann# Copyright 2008 Openmoko, Inc.
4*71b9114dSArnd Bergmann# Copyright 2008 Simtec Electronics
5*71b9114dSArnd Bergmann
6*71b9114dSArnd Bergmann# PM
7*71b9114dSArnd Bergmann
8*71b9114dSArnd Bergmannobj-$(CONFIG_PM)		+= pm-s3c64xx.o
9*71b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP)		+= sleep-s3c64xx.o
10*71b9114dSArnd Bergmannobj-$(CONFIG_CPU_IDLE)		+= cpuidle-s3c64xx.o
11*71b9114dSArnd Bergmann
12*71b9114dSArnd Bergmannifdef CONFIG_SAMSUNG_ATAGS
13*71b9114dSArnd Bergmann
14*71b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP)          += irq-pm-s3c64xx.o
15*71b9114dSArnd Bergmann
16*71b9114dSArnd Bergmann# Core
17*71b9114dSArnd Bergmann
18*71b9114dSArnd Bergmannobj-y				+= s3c64xx.o
19*71b9114dSArnd Bergmannobj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
20*71b9114dSArnd Bergmann
21*71b9114dSArnd Bergmann# DMA support
22*71b9114dSArnd Bergmann
23*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_PL080)	+= pl080.o
24*71b9114dSArnd Bergmann
25*71b9114dSArnd Bergmann# Device support
26*71b9114dSArnd Bergmann
27*71b9114dSArnd Bergmannobj-y				+= dev-uart-s3c64xx.o
28*71b9114dSArnd Bergmannobj-y				+= dev-audio-s3c64xx.o
29*71b9114dSArnd Bergmann
30*71b9114dSArnd Bergmann# Device setup
31*71b9114dSArnd Bergmann
32*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)	+= setup-fb-24bpp-s3c64xx.o
33*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C0)	+= setup-i2c0-s3c64xx.o
34*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C1)	+= setup-i2c1-s3c64xx.o
35*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_KEYPAD)	+= setup-keypad-s3c64xx.o
36*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c64xx.o
37*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SPI)		+= setup-spi-s3c64xx.o
38*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o
39*71b9114dSArnd Bergmann
40*71b9114dSArnd Bergmann# Machine support
41*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_WLF_CRAGG_6410)	+= mach-crag6410.o mach-crag6410-module.o
42*71b9114dSArnd Bergmannendif
43*71b9114dSArnd Bergmann
44*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_S3C64XX_DT)		+= mach-s3c64xx-dt.o
45