xref: /linux/arch/arm/mach-s3c/Makefile.s3c64xx (revision 71b9114d2c13a648fbe6523dd859e611c316ad90)
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 Bergmannccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
7*71b9114dSArnd Bergmannasflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
8*71b9114dSArnd Bergmann
9*71b9114dSArnd Bergmann# PM
10*71b9114dSArnd Bergmann
11*71b9114dSArnd Bergmannobj-$(CONFIG_PM)		+= pm-s3c64xx.o
12*71b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP)		+= sleep-s3c64xx.o
13*71b9114dSArnd Bergmannobj-$(CONFIG_CPU_IDLE)		+= cpuidle-s3c64xx.o
14*71b9114dSArnd Bergmann
15*71b9114dSArnd Bergmannifdef CONFIG_SAMSUNG_ATAGS
16*71b9114dSArnd Bergmann
17*71b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP)          += irq-pm-s3c64xx.o
18*71b9114dSArnd Bergmann
19*71b9114dSArnd Bergmann# Core
20*71b9114dSArnd Bergmann
21*71b9114dSArnd Bergmannobj-y				+= s3c64xx.o
22*71b9114dSArnd Bergmannobj-$(CONFIG_CPU_S3C6400)	+= s3c6400.o
23*71b9114dSArnd Bergmannobj-$(CONFIG_CPU_S3C6410)	+= s3c6410.o
24*71b9114dSArnd Bergmann
25*71b9114dSArnd Bergmann# DMA support
26*71b9114dSArnd Bergmann
27*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_PL080)	+= pl080.o
28*71b9114dSArnd Bergmann
29*71b9114dSArnd Bergmann# Device support
30*71b9114dSArnd Bergmann
31*71b9114dSArnd Bergmannobj-y				+= dev-uart-s3c64xx.o
32*71b9114dSArnd Bergmannobj-y				+= dev-audio-s3c64xx.o
33*71b9114dSArnd Bergmann
34*71b9114dSArnd Bergmann# Device setup
35*71b9114dSArnd Bergmann
36*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_FB_24BPP)	+= setup-fb-24bpp-s3c64xx.o
37*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C0)	+= setup-i2c0-s3c64xx.o
38*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C1)	+= setup-i2c1-s3c64xx.o
39*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_IDE)		+= setup-ide-s3c64xx.o
40*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_KEYPAD)	+= setup-keypad-s3c64xx.o
41*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO)	+= setup-sdhci-gpio-s3c64xx.o
42*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SPI)		+= setup-spi-s3c64xx.o
43*71b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o
44*71b9114dSArnd Bergmann
45*71b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT)	+= dev-backlight-s3c64xx.o
46*71b9114dSArnd Bergmann
47*71b9114dSArnd Bergmann# Machine support
48*71b9114dSArnd Bergmann
49*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_ANW6410)		+= mach-anw6410.o
50*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_HMT)			+= mach-hmt.o
51*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_MINI6410)		+= mach-mini6410.o
52*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_NCP)			+= mach-ncp.o
53*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_REAL6410)		+= mach-real6410.o
54*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ)		+= mach-smartq.o
55*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ5)		+= mach-smartq5.o
56*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ7)		+= mach-smartq7.o
57*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMDK6400)		+= mach-smdk6400.o
58*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMDK6410)		+= mach-smdk6410.o
59*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_WLF_CRAGG_6410)	+= mach-crag6410.o mach-crag6410-module.o
60*71b9114dSArnd Bergmannendif
61*71b9114dSArnd Bergmann
62*71b9114dSArnd Bergmannobj-$(CONFIG_MACH_S3C64XX_DT)		+= mach-s3c64xx-dt.o
63