xref: /openbmc/linux/arch/sh/kernel/cpu/sh4a/Makefile (revision ac44e669)
141504c39SPaul Mundt#
241504c39SPaul Mundt# Makefile for the Linux/SuperH SH-4 backends.
341504c39SPaul Mundt#
441504c39SPaul Mundt
541504c39SPaul Mundt# CPU subtype setup
6c01f0f1aSYoshihiro Shimodaobj-$(CONFIG_CPU_SUBTYPE_SH7757)	+= setup-sh7757.o
77d740a06SYoshihiro Shimodaobj-$(CONFIG_CPU_SUBTYPE_SH7763)	+= setup-sh7763.o
841504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7770)	+= setup-sh7770.o
941504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7780)	+= setup-sh7780.o
1032351a28SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7785)	+= setup-sh7785.o
1155ba99ebSKuninori Morimotoobj-$(CONFIG_CPU_SUBTYPE_SH7786)	+= setup-sh7786.o
1241504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
1341504c39SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o
14178dd0cdSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
150207a2efSKuninori Morimotoobj-$(CONFIG_CPU_SUBTYPE_SH7724)	+= setup-sh7724.o
169109a30eSMagnus Dammobj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
172b1bd1acSPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o
1841504c39SPaul Mundt
191a442fe0SPaul Mundt# SMP setup
202eb2a436SPaul Mundtsmp-$(CONFIG_CPU_SHX3)			:= smp-shx3.o
211a442fe0SPaul Mundt
2241504c39SPaul Mundt# Primary on-chip clocks (common)
23c01f0f1aSYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7757)	:= clock-sh7757.o
247d740a06SYoshihiro Shimodaclock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
2541504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
2641504c39SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
2732351a28SPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
2855ba99ebSKuninori Morimotoclock-$(CONFIG_CPU_SUBTYPE_SH7786)	:= clock-sh7786.o
29bc49b6eaSMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7343.o
30a61c1a63SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o hwblk-sh7722.o
312094e504SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7723.o hwblk-sh7723.o
326ba4a8f0SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7724)	:= clock-sh7724.o hwblk-sh7724.o
334ed37394SMagnus Dammclock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7366.o
342b1bd1acSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
3541504c39SPaul Mundt
368d7b5b0aSMagnus Damm# Pinmux setup
378d7b5b0aSMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
380436ec15SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
390207a2efSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7724)	:= pinmux-sh7724.o
40c01f0f1aSYoshihiro Shimodapinmux-$(CONFIG_CPU_SUBTYPE_SH7757)	:= pinmux-sh7757.o
410835f127SMagnus Dammpinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
4255ba99ebSKuninori Morimotopinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
438d7b5b0aSMagnus Damm
4441504c39SPaul Mundtobj-y				+= $(clock-y)
451a442fe0SPaul Mundtobj-$(CONFIG_SMP)		+= $(smp-y)
468d7b5b0aSMagnus Dammobj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
47ac44e669SPaul Mundtobj-$(CONFIG_PERF_EVENTS)	+= perf_event.o
48