cd8dc7ae41
This patch adds a Kconfig entry that enables compilation of legacy support code required for Samsung platforms that require ATAGS based boot. This allows to bypass compilation of this code when platforms without ATAGS support are selected. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
62 lines
1.4 KiB
Makefile
62 lines
1.4 KiB
Makefile
# arch/arm/plat-samsung/Makefile
|
|
#
|
|
# Copyright 2009 Simtec Electronics
|
|
#
|
|
# Licensed under GPLv2
|
|
|
|
obj-y :=
|
|
obj-m :=
|
|
obj-n := dummy.o
|
|
obj- :=
|
|
|
|
# Objects we always build independent of SoC choice
|
|
|
|
obj-y += init.o cpu.o
|
|
obj-$(CONFIG_SAMSUNG_HRT) += samsung-time.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_CLOCK) += clock.o
|
|
obj-$(CONFIG_SAMSUNG_CLOCK) += pwm-clock.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_CLKSRC) += clock-clksrc.o
|
|
obj-$(CONFIG_S5P_CLOCK) += s5p-clock.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_IRQ_VIC_TIMER) += irq-vic-timer.o
|
|
obj-$(CONFIG_S5P_IRQ) += s5p-irq.o
|
|
obj-$(CONFIG_S5P_EXT_INT) += s5p-irq-eint.o
|
|
obj-$(CONFIG_S5P_GPIO_INT) += s5p-irq-gpioint.o
|
|
|
|
# ADC
|
|
|
|
obj-$(CONFIG_S3C_ADC) += adc.o
|
|
|
|
# devices
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o
|
|
obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o
|
|
obj-$(CONFIG_S5P_DEV_MFC) += s5p-dev-mfc.o
|
|
obj-$(CONFIG_S5P_DEV_UART) += s5p-dev-uart.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_DEV_BACKLIGHT) += dev-backlight.o
|
|
|
|
obj-$(CONFIG_S3C_SETUP_CAMIF) += setup-camif.o
|
|
obj-$(CONFIG_S5P_SETUP_MIPIPHY) += setup-mipiphy.o
|
|
|
|
# DMA support
|
|
|
|
obj-$(CONFIG_S3C_DMA) += dma.o s3c-dma-ops.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_DMADEV) += dma-ops.o
|
|
|
|
# PM support
|
|
|
|
obj-$(CONFIG_PM) += pm.o
|
|
obj-$(CONFIG_PM) += pm-gpio.o
|
|
obj-$(CONFIG_SAMSUNG_PM_CHECK) += pm-check.o
|
|
|
|
obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
|
|
|
|
obj-$(CONFIG_S5P_PM) += s5p-pm.o s5p-irq-pm.o
|
|
obj-$(CONFIG_S5P_SLEEP) += s5p-sleep.o
|