171b9114dSArnd Bergmann# SPDX-License-Identifier: GPL-2.0 271b9114dSArnd Bergmann# 371b9114dSArnd Bergmann# Copyright 2008 Openmoko, Inc. 471b9114dSArnd Bergmann# Copyright 2008 Simtec Electronics 571b9114dSArnd Bergmann 671b9114dSArnd Bergmannccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 771b9114dSArnd Bergmannasflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include -I$(srctree)/arch/arm/plat-samsung/include 871b9114dSArnd Bergmann 971b9114dSArnd Bergmann# PM 1071b9114dSArnd Bergmann 1171b9114dSArnd Bergmannobj-$(CONFIG_PM) += pm-s3c64xx.o 1271b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP) += sleep-s3c64xx.o 1371b9114dSArnd Bergmannobj-$(CONFIG_CPU_IDLE) += cpuidle-s3c64xx.o 1471b9114dSArnd Bergmann 1571b9114dSArnd Bergmannifdef CONFIG_SAMSUNG_ATAGS 1671b9114dSArnd Bergmann 1771b9114dSArnd Bergmannobj-$(CONFIG_PM_SLEEP) += irq-pm-s3c64xx.o 1871b9114dSArnd Bergmann 1971b9114dSArnd Bergmann# Core 2071b9114dSArnd Bergmann 2171b9114dSArnd Bergmannobj-y += s3c64xx.o 2271b9114dSArnd Bergmannobj-$(CONFIG_CPU_S3C6400) += s3c6400.o 2371b9114dSArnd Bergmannobj-$(CONFIG_CPU_S3C6410) += s3c6410.o 2471b9114dSArnd Bergmann 2571b9114dSArnd Bergmann# DMA support 2671b9114dSArnd Bergmann 2771b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_PL080) += pl080.o 2871b9114dSArnd Bergmann 2971b9114dSArnd Bergmann# Device support 3071b9114dSArnd Bergmann 3171b9114dSArnd Bergmannobj-y += dev-uart-s3c64xx.o 3271b9114dSArnd Bergmannobj-y += dev-audio-s3c64xx.o 3371b9114dSArnd Bergmann 3471b9114dSArnd Bergmann# Device setup 3571b9114dSArnd Bergmann 3671b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_FB_24BPP) += setup-fb-24bpp-s3c64xx.o 3771b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0-s3c64xx.o 3871b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_I2C1) += setup-i2c1-s3c64xx.o 3971b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_IDE) += setup-ide-s3c64xx.o 4071b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_KEYPAD) += setup-keypad-s3c64xx.o 4171b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SDHCI_GPIO) += setup-sdhci-gpio-s3c64xx.o 4271b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_SPI) += setup-spi-s3c64xx.o 4371b9114dSArnd Bergmannobj-$(CONFIG_S3C64XX_SETUP_USB_PHY) += setup-usb-phy-s3c64xx.o 4471b9114dSArnd Bergmann 4571b9114dSArnd Bergmannobj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight-s3c64xx.o 4671b9114dSArnd Bergmann 4771b9114dSArnd Bergmann# Machine support 4871b9114dSArnd Bergmann 4971b9114dSArnd Bergmannobj-$(CONFIG_MACH_ANW6410) += mach-anw6410.o 5071b9114dSArnd Bergmannobj-$(CONFIG_MACH_HMT) += mach-hmt.o 5171b9114dSArnd Bergmannobj-$(CONFIG_MACH_MINI6410) += mach-mini6410.o 5271b9114dSArnd Bergmannobj-$(CONFIG_MACH_NCP) += mach-ncp.o 5371b9114dSArnd Bergmannobj-$(CONFIG_MACH_REAL6410) += mach-real6410.o 5471b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ) += mach-smartq.o 5571b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ5) += mach-smartq5.o 5671b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMARTQ7) += mach-smartq7.o 5771b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMDK6400) += mach-smdk6400.o 5871b9114dSArnd Bergmannobj-$(CONFIG_MACH_SMDK6410) += mach-smdk6410.o 5971b9114dSArnd Bergmannobj-$(CONFIG_MACH_WLF_CRAGG_6410) += mach-crag6410.o mach-crag6410-module.o 6071b9114dSArnd Bergmannendif 6171b9114dSArnd Bergmann 6271b9114dSArnd Bergmannobj-$(CONFIG_MACH_S3C64XX_DT) += mach-s3c64xx-dt.o 63