diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:14 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:14 -0400 |
commit | 445d12a9f8623e343607c4c131e299d090b472d6 (patch) | |
tree | 788780d72a96cf687f6948f69b78656c3c62b6f1 /arch/arm/mach-omap2/Makefile | |
parent | fcbde335fe532feb80f052ef41ccb499476df064 (diff) |
ARM: OMAP2+: move MPU INTCPS, secure monitor, SDRC build directives in Makefile
Move MPU INTCPS (interrupt controller) and secure monitor code build
directives to their own Makefile sections, for clarity. Coalesce
SDRC-related Makefile directives into the SDRC Makefile section.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/Makefile')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index bdcf50805a89..437ca3220718 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -6,23 +6,27 @@ | |||
6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ | 6 | obj-y := id.o io.o control.o mux.o devices.o serial.o gpmc.o timer.o pm.o \ |
7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o | 7 | common.o gpio.o dma.o wd_timer.o display.o i2c.o hdq1w.o omap_hwmod.o |
8 | 8 | ||
9 | omap-2-3-common = irq.o | ||
10 | clock-common = clock.o clock_common_data.o \ | 9 | clock-common = clock.o clock_common_data.o \ |
11 | clkt_dpll.o clkt_clksel.o | 10 | clkt_dpll.o clkt_clksel.o |
12 | secure-common = omap-smc.o omap-secure.o | ||
13 | 11 | ||
14 | obj-$(CONFIG_ARCH_OMAP2) += $(omap-2-3-common) | 12 | # INTCPS IP block support - XXX should be moved to drivers/ |
15 | obj-$(CONFIG_ARCH_OMAP3) += $(omap-2-3-common) $(secure-common) | 13 | obj-$(CONFIG_ARCH_OMAP2) += irq.o |
16 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(secure-common) | 14 | obj-$(CONFIG_ARCH_OMAP3) += irq.o |
17 | obj-$(CONFIG_SOC_AM33XX) += irq.o | 15 | obj-$(CONFIG_SOC_AM33XX) += irq.o |
18 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(secure-common) | 16 | |
17 | # Secure monitor API support | ||
18 | obj-$(CONFIG_ARCH_OMAP3) += omap-smc.o omap-secure.o | ||
19 | obj-$(CONFIG_ARCH_OMAP4) += omap-smc.o omap-secure.o | ||
20 | obj-$(CONFIG_SOC_OMAP5) += omap-smc.o omap-secure.o | ||
21 | |||
22 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o | ||
23 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o | ||
19 | 24 | ||
20 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) | 25 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
21 | obj-y += mcbsp.o | 26 | obj-y += mcbsp.o |
22 | endif | 27 | endif |
23 | 28 | ||
24 | obj-$(CONFIG_TWL4030_CORE) += omap_twl.o | 29 | obj-$(CONFIG_TWL4030_CORE) += omap_twl.o |
25 | obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o | ||
26 | 30 | ||
27 | # SMP support ONLY available for OMAP4 | 31 | # SMP support ONLY available for OMAP4 |
28 | 32 | ||
@@ -56,6 +60,7 @@ obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o | |||
56 | # SMS/SDRC | 60 | # SMS/SDRC |
57 | obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o | 61 | obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o |
58 | # obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o | 62 | # obj-$(CONFIG_ARCH_OMAP3) += sdrc3xxx.o |
63 | obj-$(CONFIG_SOC_HAS_OMAP2_SDRC) += sdrc.o | ||
59 | 64 | ||
60 | # OPP table initialization | 65 | # OPP table initialization |
61 | ifeq ($(CONFIG_PM_OPP),y) | 66 | ifeq ($(CONFIG_PM_OPP),y) |