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 | f992dca0677aaa0c98ffbabc473d1af021468646 (patch) | |
tree | c4d9536f7f6eed3cc9755ccf336d5ed4361e40f8 /arch/arm | |
parent | 445d12a9f8623e343607c4c131e299d090b472d6 (diff) |
ARM: OMAP2+: clean up OMAP4 PRM & sleep build directives in Makefile
The prm44xx.o and sleep44xx.o build directives belong with the other
PRCM- and PM-related build sections in the Makefile; move them there.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 437ca3220718..e9de8d2931d4 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -19,9 +19,6 @@ obj-$(CONFIG_ARCH_OMAP3) += omap-smc.o omap-secure.o | |||
19 | obj-$(CONFIG_ARCH_OMAP4) += 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 | 20 | obj-$(CONFIG_SOC_OMAP5) += omap-smc.o omap-secure.o |
21 | 21 | ||
22 | obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o | ||
23 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o | ||
24 | |||
25 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) | 22 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
26 | obj-y += mcbsp.o | 23 | obj-y += mcbsp.o |
27 | endif | 24 | endif |
@@ -32,10 +29,8 @@ obj-$(CONFIG_TWL4030_CORE) += omap_twl.o | |||
32 | 29 | ||
33 | obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o | 30 | obj-$(CONFIG_SMP) += omap-smp.o omap-headsmp.o |
34 | obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o | 31 | obj-$(CONFIG_HOTPLUG_CPU) += omap-hotplug.o |
35 | omap-4-5-common = omap4-common.o omap-wakeupgen.o \ | 32 | obj-$(CONFIG_ARCH_OMAP4) += omap4-common.o omap-wakeupgen.o |
36 | sleep44xx.o | 33 | obj-$(CONFIG_SOC_OMAP5) += omap4-common.o omap-wakeupgen.o |
37 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) | ||
38 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) | ||
39 | 34 | ||
40 | plus_sec := $(call as-instr,.arch_extension sec,+sec) | 35 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
41 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) | 36 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
@@ -71,11 +66,11 @@ endif | |||
71 | 66 | ||
72 | # Power Management | 67 | # Power Management |
73 | ifeq ($(CONFIG_PM),y) | 68 | ifeq ($(CONFIG_PM),y) |
74 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o | 69 | obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o sleep24xx.o |
75 | obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o | ||
76 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o | 70 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o |
77 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o | 71 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o |
78 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o | 72 | obj-$(CONFIG_ARCH_OMAP4) += sleep44xx.o |
73 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o sleep44xx.o | ||
79 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 74 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
80 | 75 | ||
81 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o | 76 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
@@ -98,7 +93,8 @@ endif | |||
98 | # PRCM | 93 | # PRCM |
99 | omap-prcm-4-5-common = prcm.o cminst44xx.o cm44xx.o \ | 94 | omap-prcm-4-5-common = prcm.o cminst44xx.o cm44xx.o \ |
100 | prcm_mpu44xx.o prminst44xx.o \ | 95 | prcm_mpu44xx.o prminst44xx.o \ |
101 | vc44xx_data.o vp44xx_data.o | 96 | vc44xx_data.o vp44xx_data.o \ |
97 | prm44xx.o | ||
102 | obj-y += prm_common.o | 98 | obj-y += prm_common.o |
103 | obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o | 99 | obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o |
104 | obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o | 100 | obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o |