diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:15 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-11 21:09:15 -0400 |
commit | df47adb825c221ff45126fd54e531f01ea490334 (patch) | |
tree | bb7fb761db9573200cb493d297dec45a5c15263d | |
parent | 9afe4eea8db8af7ca74adfbb95ed9c04f3d84d2f (diff) |
ARM: OMAP2+: clean up PRCM sections of the Makefile
Clean up the PRCM sections of the Makefile; this saves a few lines.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
-rw-r--r-- | arch/arm/mach-omap2/Makefile | 35 |
1 files changed, 10 insertions, 25 deletions
diff --git a/arch/arm/mach-omap2/Makefile b/arch/arm/mach-omap2/Makefile index 89e0dafc92c7..eb203ec193d0 100644 --- a/arch/arm/mach-omap2/Makefile +++ b/arch/arm/mach-omap2/Makefile | |||
@@ -88,67 +88,52 @@ obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o | |||
88 | endif | 88 | endif |
89 | 89 | ||
90 | # PRCM | 90 | # PRCM |
91 | omap-prcm-4-5-common = prcm.o cminst44xx.o cm44xx.o \ | 91 | obj-y += prcm.o prm_common.o |
92 | obj-$(CONFIG_ARCH_OMAP2) += cm2xxx_3xxx.o prm2xxx_3xxx.o | ||
93 | obj-$(CONFIG_ARCH_OMAP3) += cm2xxx_3xxx.o prm2xxx_3xxx.o | ||
94 | obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o | ||
95 | obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o | ||
96 | omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \ | ||
92 | prcm_mpu44xx.o prminst44xx.o \ | 97 | prcm_mpu44xx.o prminst44xx.o \ |
93 | vc44xx_data.o vp44xx_data.o \ | 98 | vc44xx_data.o vp44xx_data.o \ |
94 | prm44xx.o | 99 | prm44xx.o |
95 | obj-y += prm_common.o | 100 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) |
96 | obj-$(CONFIG_ARCH_OMAP2) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o | ||
97 | obj-$(CONFIG_ARCH_OMAP3) += prcm.o cm2xxx_3xxx.o prm2xxx_3xxx.o | ||
98 | obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o | ||
99 | obj-$(CONFIG_SOC_AM33XX) += prcm.o prm33xx.o cm33xx.o | ||
100 | obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common) prm44xx.o | ||
101 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) | 101 | obj-$(CONFIG_SOC_OMAP5) += $(omap-prcm-4-5-common) |
102 | 102 | ||
103 | # OMAP voltage domains | 103 | # OMAP voltage domains |
104 | voltagedomain-common := voltage.o vc.o vp.o | 104 | obj-y += voltage.o vc.o vp.o |
105 | obj-$(CONFIG_ARCH_OMAP2) += $(voltagedomain-common) | ||
106 | obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o | 105 | obj-$(CONFIG_ARCH_OMAP2) += voltagedomains2xxx_data.o |
107 | obj-$(CONFIG_ARCH_OMAP3) += $(voltagedomain-common) | ||
108 | obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o | 106 | obj-$(CONFIG_ARCH_OMAP3) += voltagedomains3xxx_data.o |
109 | obj-$(CONFIG_ARCH_OMAP4) += $(voltagedomain-common) | ||
110 | obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o | 107 | obj-$(CONFIG_ARCH_OMAP4) += voltagedomains44xx_data.o |
111 | obj-$(CONFIG_SOC_AM33XX) += $(voltagedomain-common) | ||
112 | obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o | 108 | obj-$(CONFIG_SOC_AM33XX) += voltagedomains33xx_data.o |
113 | obj-$(CONFIG_SOC_OMAP5) += $(voltagedomain-common) | ||
114 | 109 | ||
115 | # OMAP powerdomain framework | 110 | # OMAP powerdomain framework |
116 | powerdomain-common += powerdomain.o powerdomain-common.o | 111 | obj-y += powerdomain.o powerdomain-common.o |
117 | obj-$(CONFIG_ARCH_OMAP2) += $(powerdomain-common) | ||
118 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o | 112 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_data.o |
119 | obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o | 113 | obj-$(CONFIG_ARCH_OMAP2) += powerdomain2xxx_3xxx.o |
120 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o | 114 | obj-$(CONFIG_ARCH_OMAP2) += powerdomains2xxx_3xxx_data.o |
121 | obj-$(CONFIG_ARCH_OMAP3) += $(powerdomain-common) | ||
122 | obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o | 115 | obj-$(CONFIG_ARCH_OMAP3) += powerdomain2xxx_3xxx.o |
123 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o | 116 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains3xxx_data.o |
124 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o | 117 | obj-$(CONFIG_ARCH_OMAP3) += powerdomains2xxx_3xxx_data.o |
125 | obj-$(CONFIG_ARCH_OMAP4) += $(powerdomain-common) | ||
126 | obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o | 118 | obj-$(CONFIG_ARCH_OMAP4) += powerdomain44xx.o |
127 | obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o | 119 | obj-$(CONFIG_ARCH_OMAP4) += powerdomains44xx_data.o |
128 | obj-$(CONFIG_SOC_AM33XX) += $(powerdomain-common) | ||
129 | obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o | 120 | obj-$(CONFIG_SOC_AM33XX) += powerdomain33xx.o |
130 | obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o | 121 | obj-$(CONFIG_SOC_AM33XX) += powerdomains33xx_data.o |
131 | obj-$(CONFIG_SOC_OMAP5) += $(powerdomain-common) | ||
132 | obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o | 122 | obj-$(CONFIG_SOC_OMAP5) += powerdomain44xx.o |
133 | 123 | ||
134 | # PRCM clockdomain control | 124 | # PRCM clockdomain control |
135 | clockdomain-common += clockdomain.o | 125 | obj-y += clockdomain.o |
136 | obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common) | ||
137 | obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o | 126 | obj-$(CONFIG_ARCH_OMAP2) += clockdomain2xxx_3xxx.o |
138 | obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o | 127 | obj-$(CONFIG_ARCH_OMAP2) += clockdomains2xxx_3xxx_data.o |
139 | obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o | 128 | obj-$(CONFIG_SOC_OMAP2420) += clockdomains2420_data.o |
140 | obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o | 129 | obj-$(CONFIG_SOC_OMAP2430) += clockdomains2430_data.o |
141 | obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common) | ||
142 | obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o | 130 | obj-$(CONFIG_ARCH_OMAP3) += clockdomain2xxx_3xxx.o |
143 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o | 131 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains2xxx_3xxx_data.o |
144 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o | 132 | obj-$(CONFIG_ARCH_OMAP3) += clockdomains3xxx_data.o |
145 | obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common) | ||
146 | obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o | 133 | obj-$(CONFIG_ARCH_OMAP4) += clockdomain44xx.o |
147 | obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o | 134 | obj-$(CONFIG_ARCH_OMAP4) += clockdomains44xx_data.o |
148 | obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common) | ||
149 | obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o | 135 | obj-$(CONFIG_SOC_AM33XX) += clockdomain33xx.o |
150 | obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o | 136 | obj-$(CONFIG_SOC_AM33XX) += clockdomains33xx_data.o |
151 | obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common) | ||
152 | obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o | 137 | obj-$(CONFIG_SOC_OMAP5) += clockdomain44xx.o |
153 | 138 | ||
154 | # Clock framework | 139 | # Clock framework |