diff options
author | R Sricharan <r.sricharan@ti.com> | 2013-07-03 02:08:50 -0400 |
---|---|---|
committer | Rajendra Nayak <rnayak@ti.com> | 2013-08-13 01:30:32 -0400 |
commit | bfe9211a30a6814fed3191292304cb407f5afe83 (patch) | |
tree | 748d1f6154dd5347c40191efd9f3ef6ba9dc6467 /arch/arm/mach-omap2 | |
parent | d4e4ab86bcba5a72779c43dc1459f71fea3d89c8 (diff) |
ARM: DRA7: Reuse all of PRCM and MPUSS SMP infra
The PRCM and MPUSS parts of DRA7 devices are quite identical
to OMAP5 so as to reuse all the existing infrastructure around it.
Makefile updates to do just that.
Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index d4f671547c37..cc36bfe104fe 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -23,6 +23,7 @@ obj-$(CONFIG_ARCH_OMAP4) += prm44xx.o $(hwmod-common) $(secure-common) | |||
23 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) | 23 | obj-$(CONFIG_SOC_AM33XX) += irq.o $(hwmod-common) |
24 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) | 24 | obj-$(CONFIG_SOC_OMAP5) += prm44xx.o $(hwmod-common) $(secure-common) |
25 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) | 25 | obj-$(CONFIG_SOC_AM43XX) += $(hwmod-common) $(secure-common) |
26 | obj-$(CONFIG_SOC_DRA7XX) += prm44xx.o $(hwmod-common) $(secure-common) | ||
26 | 27 | ||
27 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) | 28 | ifneq ($(CONFIG_SND_OMAP_SOC_MCBSP),) |
28 | obj-y += mcbsp.o | 29 | obj-y += mcbsp.o |
@@ -39,6 +40,7 @@ omap-4-5-common = omap4-common.o omap-wakeupgen.o | |||
39 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o | 40 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
40 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o | 41 | obj-$(CONFIG_SOC_OMAP5) += $(omap-4-5-common) $(smp-y) sleep44xx.o |
41 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) | 42 | obj-$(CONFIG_SOC_AM43XX) += $(omap-4-5-common) |
43 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-4-5-common) $(smp-y) | ||
42 | 44 | ||
43 | plus_sec := $(call as-instr,.arch_extension sec,+sec) | 45 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
44 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) | 46 | AFLAGS_omap-headsmp.o :=-Wa,-march=armv7-a$(plus_sec) |
@@ -87,6 +89,7 @@ obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o | |||
87 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o | 89 | obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o |
88 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o | 90 | obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o |
89 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o | 91 | obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o |
92 | obj-$(CONFIG_SOC_DRA7XX) += omap-mpuss-lowpower.o | ||
90 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o | 93 | obj-$(CONFIG_PM_DEBUG) += pm-debug.o |
91 | 94 | ||
92 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o | 95 | obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o |
@@ -114,6 +117,7 @@ omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \ | |||
114 | vc44xx_data.o vp44xx_data.o | 117 | vc44xx_data.o vp44xx_data.o |
115 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) | 118 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) |
116 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) | 119 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) |
120 | obj-$(CONFIG_SOC_DRA7XX) += $(omap-prcm-4-5-common) | ||
117 | 121 | ||
118 | # OMAP voltage domains | 122 | # OMAP voltage domains |
119 | voltagedomain-common := voltage.o vc.o vp.o | 123 | voltagedomain-common := voltage.o vc.o vp.o |
@@ -143,6 +147,7 @@ obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o | |||
143 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) | 147 | obj-$(CONFIG_SOC_AM43XX) += $(powerdomain-common) |
144 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) | 148 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) |
145 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o | 149 | obj-$(CONFIG_SOC_OMAP5) += powerdomains54xx_data.o |
150 | obj-$(CONFIG_SOC_DRA7XX) += $(powerdomain-common) | ||
146 | 151 | ||
147 | # PRCM clockdomain control | 152 | # PRCM clockdomain control |
148 | clockdomain-common += clockdomain.o | 153 | clockdomain-common += clockdomain.o |
@@ -160,6 +165,7 @@ obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o | |||
160 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) | 165 | obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common) |
161 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) | 166 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) |
162 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o | 167 | obj-$(CONFIG_SOC_OMAP5) += clockdomains54xx_data.o |
168 | obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common) | ||
163 | 169 | ||
164 | # Clock framework | 170 | # Clock framework |
165 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o | 171 | obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o |