summaryrefslogtreecommitdiff
path: root/arch/arm/plat-stmp3xxx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/plat-stmp3xxx/Makefile')
-rw-r--r--arch/arm/plat-stmp3xxx/Makefile21
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/plat-stmp3xxx/Makefile b/arch/arm/plat-stmp3xxx/Makefile
index 31dd518f37a5..c67013c10204 100644
--- a/arch/arm/plat-stmp3xxx/Makefile
+++ b/arch/arm/plat-stmp3xxx/Makefile
@@ -2,4 +2,23 @@
# Makefile for the linux kernel.
#
# Object file lists.
-obj-y += core.o timer.o irq.o dma.o clock.o pinmux.o devices.o
+obj-y += core.o timer.o irq.o dma.o clock.o pinmux.o devices.o \
+ lradc.o spi.o mmc.o \
+ power-test.o
+
+obj-$(CONFIG_ARCH_STMP378X) += dcp-bootstream.o usb_common.o utmixc.o
+obj-$(CONFIG_IRAM_ALLOC) += iram.o
+
+# Power Management
+obj-$(CONFIG_CPU_FREQ) += cpufreq.o
+
+obj-$(CONFIG_STMP3XXX_UNIQUE_ID) += unique-id.o
+
+ifneq ($(strip $(CONFIG_USB_GADGET_ARC) $(CONFIG_USB_EHCI_ARC_OTG)),)
+ obj-y += usb_dr.o
+endif
+
+# charging/current limitation testing
+obj-m += power-test.o
+
+