Makefile (65829ef5a0b9bdffa34b35479853d24e547cfde8) Makefile (f7f73aab3d5bd19ba0f72ff00fb6b3be28e1a4d3)
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-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 \
1#
2# Makefile for the linux kernel.
3#
4
5# Common support
6obj-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 \
8 omap_device.o sram.o
8 omap_device.o
9
10omap-2-3-common = irq.o
11hwmod-common = omap_hwmod.o \
12 omap_hwmod_common_data.o
13clock-common = clock.o clock_common_data.o \
14 clkt_dpll.o clkt_clksel.o
15secure-common = omap-smc.o omap-secure.o
16

--- 28 unchanged lines hidden (view full) ---

45obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
46obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
47obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
48
49AFLAGS_sram242x.o :=-Wa,-march=armv6
50AFLAGS_sram243x.o :=-Wa,-march=armv6
51AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
52
9
10omap-2-3-common = irq.o
11hwmod-common = omap_hwmod.o \
12 omap_hwmod_common_data.o
13clock-common = clock.o clock_common_data.o \
14 clkt_dpll.o clkt_clksel.o
15secure-common = omap-smc.o omap-secure.o
16

--- 28 unchanged lines hidden (view full) ---

45obj-$(CONFIG_SOC_OMAP2420) += sram242x.o
46obj-$(CONFIG_SOC_OMAP2430) += sram243x.o
47obj-$(CONFIG_ARCH_OMAP3) += sram34xx.o
48
49AFLAGS_sram242x.o :=-Wa,-march=armv6
50AFLAGS_sram243x.o :=-Wa,-march=armv6
51AFLAGS_sram34xx.o :=-Wa,-march=armv7-a
52
53# Restart code (OMAP4/5 currently in omap4-common.c)
54obj-$(CONFIG_SOC_OMAP2420) += omap2-restart.o
55obj-$(CONFIG_SOC_OMAP2430) += omap2-restart.o
56obj-$(CONFIG_ARCH_OMAP3) += omap3-restart.o
57
53# Pin multiplexing
54obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
55obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
56obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
57obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
58
59# SMS/SDRC
60obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o

--- 9 unchanged lines hidden (view full) ---

70# Power Management
71ifeq ($(CONFIG_PM),y)
72obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
73obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
74obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
75obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
76obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
77obj-$(CONFIG_PM_DEBUG) += pm-debug.o
58# Pin multiplexing
59obj-$(CONFIG_SOC_OMAP2420) += mux2420.o
60obj-$(CONFIG_SOC_OMAP2430) += mux2430.o
61obj-$(CONFIG_ARCH_OMAP3) += mux34xx.o
62obj-$(CONFIG_ARCH_OMAP4) += mux44xx.o
63
64# SMS/SDRC
65obj-$(CONFIG_ARCH_OMAP2) += sdrc2xxx.o

--- 9 unchanged lines hidden (view full) ---

75# Power Management
76ifeq ($(CONFIG_PM),y)
77obj-$(CONFIG_ARCH_OMAP2) += pm24xx.o
78obj-$(CONFIG_ARCH_OMAP2) += sleep24xx.o
79obj-$(CONFIG_ARCH_OMAP3) += pm34xx.o sleep34xx.o
80obj-$(CONFIG_ARCH_OMAP4) += pm44xx.o omap-mpuss-lowpower.o
81obj-$(CONFIG_SOC_OMAP5) += omap-mpuss-lowpower.o
82obj-$(CONFIG_PM_DEBUG) += pm-debug.o
78obj-$(CONFIG_OMAP_PM_NOOP) += omap-pm-noop.o
79
80obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
81obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
82
83AFLAGS_sleep24xx.o :=-Wa,-march=armv6
84AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
85
86ifeq ($(CONFIG_PM_VERBOSE),y)
87CFLAGS_pm_bus.o += -DDEBUG
88endif
89
90endif
91
92ifeq ($(CONFIG_CPU_IDLE),y)
93obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
94obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
95endif
96
97# PRCM
83
84obj-$(CONFIG_POWER_AVS_OMAP) += sr_device.o
85obj-$(CONFIG_POWER_AVS_OMAP_CLASS3) += smartreflex-class3.o
86
87AFLAGS_sleep24xx.o :=-Wa,-march=armv6
88AFLAGS_sleep34xx.o :=-Wa,-march=armv7-a$(plus_sec)
89
90ifeq ($(CONFIG_PM_VERBOSE),y)
91CFLAGS_pm_bus.o += -DDEBUG
92endif
93
94endif
95
96ifeq ($(CONFIG_CPU_IDLE),y)
97obj-$(CONFIG_ARCH_OMAP3) += cpuidle34xx.o
98obj-$(CONFIG_ARCH_OMAP4) += cpuidle44xx.o
99endif
100
101# PRCM
98obj-y += prcm.o prm_common.o cm_common.o
102obj-y += prm_common.o cm_common.o
99obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
100obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
101obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
102obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o
103omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \
104 prcm_mpu44xx.o prminst44xx.o \
105 vc44xx_data.o vp44xx_data.o
106obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)

--- 42 unchanged lines hidden (view full) ---

149
150# Clock framework
151obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
152obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
153obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
154obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
155obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
156obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
103obj-$(CONFIG_ARCH_OMAP2) += prm2xxx_3xxx.o prm2xxx.o cm2xxx.o
104obj-$(CONFIG_ARCH_OMAP3) += prm2xxx_3xxx.o prm3xxx.o cm3xxx.o
105obj-$(CONFIG_ARCH_OMAP3) += vc3xxx_data.o vp3xxx_data.o
106obj-$(CONFIG_SOC_AM33XX) += prm33xx.o cm33xx.o
107omap-prcm-4-5-common = cminst44xx.o cm44xx.o prm44xx.o \
108 prcm_mpu44xx.o prminst44xx.o \
109 vc44xx_data.o vp44xx_data.o
110obj-$(CONFIG_ARCH_OMAP4) += $(omap-prcm-4-5-common)

--- 42 unchanged lines hidden (view full) ---

153
154# Clock framework
155obj-$(CONFIG_ARCH_OMAP2) += $(clock-common) clock2xxx.o
156obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_sys.o
157obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpllcore.o
158obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_virt_prcm_set.o
159obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_apll.o clkt2xxx_osc.o
160obj-$(CONFIG_ARCH_OMAP2) += clkt2xxx_dpll.o clkt_iclk.o
157obj-$(CONFIG_SOC_OMAP2420) += clock2420_data.o
158obj-$(CONFIG_SOC_OMAP2430) += clock2430.o clock2430_data.o
161obj-$(CONFIG_SOC_OMAP2420) += cclock2420_data.o
162obj-$(CONFIG_SOC_OMAP2430) += clock2430.o cclock2430_data.o
159obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
160obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
161obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
163obj-$(CONFIG_ARCH_OMAP3) += $(clock-common) clock3xxx.o
164obj-$(CONFIG_ARCH_OMAP3) += clock34xx.o clkt34xx_dpll3m2.o
165obj-$(CONFIG_ARCH_OMAP3) += clock3517.o clock36xx.o
162obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o clock3xxx_data.o
166obj-$(CONFIG_ARCH_OMAP3) += dpll3xxx.o cclock3xxx_data.o
163obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
167obj-$(CONFIG_ARCH_OMAP3) += clkt_iclk.o
164obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) clock44xx_data.o
168obj-$(CONFIG_ARCH_OMAP4) += $(clock-common) cclock44xx_data.o
165obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
166obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
169obj-$(CONFIG_ARCH_OMAP4) += dpll3xxx.o dpll44xx.o
170obj-$(CONFIG_SOC_AM33XX) += $(clock-common) dpll3xxx.o
167obj-$(CONFIG_SOC_AM33XX) += clock33xx_data.o
171obj-$(CONFIG_SOC_AM33XX) += cclock33xx_data.o
168obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
169obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
170
171# OMAP2 clock rate set data (old "OPP" data)
172obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
173obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
174
175# hwmod data

--- 119 unchanged lines hidden ---
172obj-$(CONFIG_SOC_OMAP5) += $(clock-common)
173obj-$(CONFIG_SOC_OMAP5) += dpll3xxx.o dpll44xx.o
174
175# OMAP2 clock rate set data (old "OPP" data)
176obj-$(CONFIG_SOC_OMAP2420) += opp2420_data.o
177obj-$(CONFIG_SOC_OMAP2430) += opp2430_data.o
178
179# hwmod data

--- 119 unchanged lines hidden ---