blob: 256cd5b40c60aaf73d6397639124220990ca770c [file] [log] [blame]
Ben Dooks431107e2010-01-26 10:11:04 +09001# arch/arm/mach-s3c64xx/Makefile
2#
3# Copyright 2008 Openmoko, Inc.
4# Copyright 2008 Simtec Electronics
5#
6# Licensed under GPLv2
7
Arnd Bergmannaf37eec2014-07-07 14:25:15 +02008ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
9asflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include
10
Kukjin Kimb024043b2011-12-22 23:27:42 +010011# PM
12
Arnd Bergmann484c2132015-02-27 05:50:22 +090013obj-$(CONFIG_PM) += pm.o
Arnd Bergmannb2821042015-02-27 21:44:40 +010014obj-$(CONFIG_PM_SLEEP) += sleep.o
Mark Brown2abf13c2011-12-24 11:38:27 +090015obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Ben Dooksed618af2010-01-26 11:07:23 +090016
Arnd Bergmannb2821042015-02-27 21:44:40 +010017ifdef CONFIG_SAMSUNG_ATAGS
18
19obj-$(CONFIG_PM_SLEEP) += irq-pm.o
20
21# Core
22
23obj-y += common.o
24obj-$(CONFIG_CPU_S3C6400) += s3c6400.o
25obj-$(CONFIG_CPU_S3C6410) += s3c6410.o
26
Ben Dooksf7be9ab2010-01-26 13:41:30 +090027# DMA support
28
Tomasz Figa1db02872013-10-16 21:10:54 +020029obj-$(CONFIG_S3C64XX_PL080) += pl080.o
Ben Dooksf7be9ab2010-01-26 13:41:30 +090030
Kukjin Kimb024043b2011-12-22 23:27:42 +010031# Device support
Ben Dooks88fc68a2010-01-26 11:19:18 +090032
33obj-y += dev-uart.o
Mark Brown0ea53572010-03-05 10:47:23 +000034obj-y += dev-audio.o
Kukjin Kimb024043b2011-12-22 23:27:42 +010035
36# Device setup
37
38obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp.o
39obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o
40obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1.o
41obj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide.o
42obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad.o
Kukjin Kimb024043b2011-12-22 23:27:42 +010043obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio.o
Arnd Bergmanna07613a2012-01-09 16:01:00 +000044obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi.o
Joonyoung Shim99f6e1f2012-03-07 04:23:47 -080045obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy.o
Kukjin Kimb024043b2011-12-22 23:27:42 +010046
Kukjin Kim7f798c12015-07-30 01:48:17 +090047obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
48
Kukjin Kimb024043b2011-12-22 23:27:42 +010049# Machine support
50
51obj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o
52obj-$(CONFIG_MACH_HMT) += mach-hmt.o
53obj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o
54obj-$(CONFIG_MACH_NCP) += mach-ncp.o
55obj-$(CONFIG_MACH_REAL6410) += mach-real6410.o
56obj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o
57obj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o
58obj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o
59obj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o
60obj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o
61obj-$(CONFIG_MACH_WLF_CRAGG_6410) += mach-crag6410.o mach-crag6410-module.o
Arnd Bergmannb2821042015-02-27 21:44:40 +010062endif
63
Tomasz Figa31e40012013-08-26 02:37:51 +090064obj-$(CONFIG_MACH_S3C64XX_DT) += mach-s3c64xx-dt.o