Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # |
| 3 | # Copyright 2008 Openmoko, Inc. |
| 4 | # Copyright 2008 Simtec Electronics |
| 5 | |
Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 6 | # PM |
| 7 | |
| 8 | obj-$(CONFIG_PM) += pm-s3c64xx.o |
| 9 | obj-$(CONFIG_PM_SLEEP) += sleep-s3c64xx.o |
| 10 | obj-$(CONFIG_CPU_IDLE) += cpuidle-s3c64xx.o |
| 11 | |
| 12 | ifdef CONFIG_SAMSUNG_ATAGS |
| 13 | |
| 14 | obj-$(CONFIG_PM_SLEEP) += irq-pm-s3c64xx.o |
| 15 | |
| 16 | # Core |
| 17 | |
| 18 | obj-y += s3c64xx.o |
Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 19 | obj-$(CONFIG_CPU_S3C6410) += s3c6410.o |
| 20 | |
| 21 | # DMA support |
| 22 | |
| 23 | obj-$(CONFIG_S3C64XX_PL080) += pl080.o |
| 24 | |
| 25 | # Device support |
| 26 | |
| 27 | obj-y += dev-uart-s3c64xx.o |
| 28 | obj-y += dev-audio-s3c64xx.o |
| 29 | |
| 30 | # Device setup |
| 31 | |
| 32 | obj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp-s3c64xx.o |
| 33 | obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0-s3c64xx.o |
| 34 | obj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1-s3c64xx.o |
Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad-s3c64xx.o |
| 36 | obj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio-s3c64xx.o |
| 37 | obj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi-s3c64xx.o |
| 38 | obj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o |
| 39 | |
Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 40 | # Machine support |
Arnd Bergmann | 71b9114 | 2019-09-02 17:47:55 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_MACH_WLF_CRAGG_6410) += mach-crag6410.o mach-crag6410-module.o |
| 42 | endif |
| 43 | |
| 44 | obj-$(CONFIG_MACH_S3C64XX_DT) += mach-s3c64xx-dt.o |